use Ascii for CJK

pull/52/head
Yasuhiro Matsumoto 7 years ago
parent ce4d129702
commit bb21f2c221

@ -20,6 +20,7 @@ import (
"time"
"github.com/jroimartin/gocui"
"github.com/mattn/go-runewidth"
)
const VERSION = "0.1.0"
@ -1008,6 +1009,9 @@ func main() {
if err != nil {
log.Panicln(err)
}
if runtime.GOOS == "windows" && runewidth.IsEastAsian() {
g.Ascii = true
}
app := &App{history: make([]*Request, 0, 31)}

Loading…
Cancel
Save