diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-19 18:07:33 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-19 23:06:05 +1000 |
commit | 604ee02cd99aa845453f9d7878ebf569edee83ca (patch) | |
tree | 21bdaaa01e4e793661dcae4a48ac15dcd4341e51 | |
parent | 926a48a65b1d3325515b915bb422686f49724d56 (diff) |
ignore east asian width setting to avoid broken frame rendering
-rw-r--r-- | pkg/gui/gui.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index d17384fa4..3f13bff7b 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -49,6 +49,10 @@ const StartupPopupVersion = 4 // OverlappingEdges determines if panel edges overlap var OverlappingEdges = false +func init() { + runewidth.DefaultCondition.EastAsianWidth = false +} + type ContextManager struct { ContextStack []Context sync.RWMutex |