From 604ee02cd99aa845453f9d7878ebf569edee83ca Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Mon, 19 Apr 2021 18:07:33 +1000 Subject: [PATCH] ignore east asian width setting to avoid broken frame rendering --- pkg/gui/gui.go | 4 ++++ 1 file changed, 4 insertions(+) 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