refactor(config): drop the unicode scroll bar glyph set

This commit is contained in:
ayn2op 2026-10-01 22:58:48 -04:00
parent 31c5d185ca
commit 39c803eef9
4 changed files with 5 additions and 7 deletions

2
go.mod
View file

@ -15,7 +15,7 @@ require (
github.com/andybalholm/brotli v1.2.6
github.com/ayn2op/arikawa/v3 v3.0.0-20260929021956-7d0802bf4d7c
github.com/ayn2op/ningen/v3 v3.0.1-0.20260929010920-29794d5fa70e
github.com/ayn2op/tview v0.0.0-20261002024202-f7619deb5073
github.com/ayn2op/tview v0.0.0-20261002025820-724059fe8d9e
github.com/bogdanfinn/fhttp v0.6.9
github.com/bogdanfinn/tls-client v1.16.0
github.com/gdamore/tcell/v3 v3.5.0

4
go.sum
View file

@ -14,8 +14,8 @@ github.com/ayn2op/arikawa/v3 v3.0.0-20260929021956-7d0802bf4d7c h1:Qkl3W5RXzUQUR
github.com/ayn2op/arikawa/v3 v3.0.0-20260929021956-7d0802bf4d7c/go.mod h1:SHqcr+EmZKeNtVKZybHJn4HNz+ufA1XbeKNSTigBCEE=
github.com/ayn2op/ningen/v3 v3.0.1-0.20260929010920-29794d5fa70e h1:QAei/IVEyZV7GcpkpcFUh37+QRqwrt57z7OT3ciHrhI=
github.com/ayn2op/ningen/v3 v3.0.1-0.20260929010920-29794d5fa70e/go.mod h1:RsvYiMzi4Si1F7vmml5NCL2DaKIZXkNUQC7QlGTMtCw=
github.com/ayn2op/tview v0.0.0-20261002024202-f7619deb5073 h1:ipmYpvyH7prpXsLYDYWFAgXLC++xr8ss6x7nlgCOhvU=
github.com/ayn2op/tview v0.0.0-20261002024202-f7619deb5073/go.mod h1:oRPTSZgaEJPhv3dmmNvo6grBq/BemrLG3wFQLMTZJkY=
github.com/ayn2op/tview v0.0.0-20261002025820-724059fe8d9e h1:K+m6V66PQw7xngvJECWgq4yyETmSpkLgqs7VZd0Xpbw=
github.com/ayn2op/tview v0.0.0-20261002025820-724059fe8d9e/go.mod h1:oRPTSZgaEJPhv3dmmNvo6grBq/BemrLG3wFQLMTZJkY=
github.com/bdandy/go-errors v1.2.2 h1:WdFv/oukjTJCLa79UfkGmwX7ZxONAihKu4V0mLIs11Q=
github.com/bdandy/go-errors v1.2.2/go.mod h1:NkYHl4Fey9oRRdbB1CoC6e84tuqQHiqrOcZpqFEkBxM=
github.com/bdandy/go-socks4 v1.2.3 h1:Q6Y2heY1GRjCtHbmlKfnwrKVU/k81LS8mRGLRlmDlic=

View file

@ -302,8 +302,8 @@ offline_style = { foreground = "gray" }
[theme.scroll_bar]
visibility = "auto"
# "minimal", "box_drawing", or "unicode"
glyph_set = "unicode"
# "minimal" or "box_drawing"
glyph_set = "box_drawing"
track_style = { attributes = "dim" }
thumb_style = {}

View file

@ -149,8 +149,6 @@ func (gw *GlyphSetWrapper) UnmarshalTOML(val any) error {
gw.GlyphSet = scrollbar.MinimalGlyphSet()
case "box_drawing", "boxdrawing", "box":
gw.GlyphSet = scrollbar.BoxDrawingGlyphSet()
case "unicode":
gw.GlyphSet = scrollbar.UnicodeGlyphSet()
default:
return fmt.Errorf("unknown value: %q", s)
}