summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-12-21 11:39:36 +0300
committerGrail Finder <wohilas@gmail.com>2025-12-21 11:39:36 +0300
commit75fde2a575697f8f46ee9676c0ed228e5315a4e5 (patch)
tree64e02a6afef049eb2ca79a3a5d2b0beb8ba26385 /main.go
parent1ca75a00642c4e0a6eea3117e3b4ebaacfdcfa7a (diff)
parent5525c946613a6f726cd116d79f1505a63ab25806 (diff)
Merge branch 'master' into doc/tutorial
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/main.go b/main.go
index 63d0976..ec175bf 100644
--- a/main.go
+++ b/main.go
@@ -3,7 +3,6 @@ package main
import (
"flag"
"strconv"
- "unicode"
"github.com/rivo/tview"
)
@@ -23,15 +22,6 @@ var (
focusSwitcher = map[tview.Primitive]tview.Primitive{}
)
-func isASCII(s string) bool {
- for i := 0; i < len(s); i++ {
- if s[i] > unicode.MaxASCII {
- return false
- }
- }
- return true
-}
-
func main() {
apiPort := flag.Int("port", 0, "port to host api")
flag.Parse()