fix: reduce app height
This commit is contained in:
parent
19eb9b20be
commit
89f9edb188
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -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
2
ui.go
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue