Skip to content

Commit

Permalink
fix: set eastasian width to fix broken layout
Browse files Browse the repository at this point in the history
  • Loading branch information
egawata committed Aug 12, 2022
1 parent 0ab3347 commit c8243be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (

"github.com/adrg/xdg"
"github.com/fatih/color"
"github.com/mattn/go-runewidth"
"github.com/rivo/tview"
"github.com/spf13/viper"
"github.com/tcnksm/go-latest"
Expand All @@ -32,6 +33,8 @@ func printVersion() {
}

func main() {
runewidth.DefaultCondition.EastAsianWidth = false

v := viper.New()
v.SetConfigType("toml")
v.SetConfigName("viddy")
Expand Down

0 comments on commit c8243be

Please sign in to comment.