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