diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-09-25 12:37:37 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-09-27 19:58:24 +1000 |
commit | ab0117c416847fcdb82383d31735391ba83bfd74 (patch) | |
tree | 09b32319df09e0732db5025b5b1485fc87484311 /pkg/gui | |
parent | 652c97d2396c53d24fbb4a461573fa2ab381eab6 (diff) |
fix some encodings
Diffstat (limited to 'pkg/gui')
-rw-r--r-- | pkg/gui/gui.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index 975f0ad9e..95c165a71 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -5,7 +5,6 @@ import ( "io/ioutil" "log" "os" - "runtime" "sync" "os/exec" @@ -30,7 +29,6 @@ import ( "github.com/jesseduffield/lazygit/pkg/theme" "github.com/jesseduffield/lazygit/pkg/updates" "github.com/jesseduffield/lazygit/pkg/utils" - "github.com/mattn/go-runewidth" "github.com/sirupsen/logrus" ) @@ -51,10 +49,6 @@ const StartupPopupVersion = 5 // OverlappingEdges determines if panel edges overlap var OverlappingEdges = false -func init() { - runewidth.DefaultCondition.EastAsianWidth = false -} - type ContextManager struct { ContextStack []Context sync.RWMutex @@ -497,8 +491,6 @@ func (gui *Gui) Run() error { g.NextSearchMatchKey = gui.getKey(userConfig.Keybinding.Universal.NextMatch) g.PrevSearchMatchKey = gui.getKey(userConfig.Keybinding.Universal.PrevMatch) - g.ASCII = runtime.GOOS == "windows" && runewidth.IsEastAsian() - g.ShowListFooter = userConfig.Gui.ShowListFooter if userConfig.Gui.MouseEvents { |