From 89f9edb1885107ebb51157666be3b86b99a2c8b1 Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Fri, 14 Feb 2020 13:18:36 +0000 Subject: [PATCH] fix: reduce app height --- Makefile | 2 +- ui.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 193d053..47eb7c4 100644 --- a/Makefile +++ b/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: diff --git a/ui.go b/ui.go index f7dffe0..d89ab2e 100644 --- a/ui.go +++ b/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 }