fix: reduce app height

This commit is contained in:
Dan Anglin 2020-02-14 13:18:36 +00:00
parent 19eb9b20be
commit 89f9edb188
No known key found for this signature in database
GPG key ID: 7AC2B18EC1D09F27
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ test_lint:
@golangci-lint run --color always
build:
@go build -a -v -o $(BIN_FILE)
@go build -a -o $(BIN_FILE)
@cp -a assets bin/assets
clean:

2
ui.go
View file

@ -44,7 +44,7 @@ func newTimerUI(app *tview.Application) *tview.TextView {
func newFlex(info, timer *tview.TextView) *tview.Flex {
f := tview.NewFlex().AddItem(info, 30, 1, false).AddItem(timer, 50, 1, false)
f.SetRect(0, 0, 80, 20)
f.SetRect(0, 0, 80, 8)
return f
}