From af1b46797b3d01f8e3b774764f367d885d4280db Mon Sep 17 00:00:00 2001 From: ayntgl Date: Sat, 26 Feb 2022 23:13:52 +0400 Subject: [PATCH] feat: set borders' rune to 0 and focus borders to regular borders --- main.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/main.go b/main.go index 7191743..270723c 100644 --- a/main.go +++ b/main.go @@ -82,6 +82,19 @@ func main() { app.SetRoot(loginForm, true) } + tview.Borders.TopLeftFocus = tview.Borders.TopLeft + tview.Borders.TopRightFocus = tview.Borders.TopRight + tview.Borders.BottomLeftFocus = tview.Borders.BottomLeft + tview.Borders.BottomRightFocus = tview.Borders.BottomRight + tview.Borders.HorizontalFocus = tview.Borders.Horizontal + tview.Borders.VerticalFocus = tview.Borders.Vertical + tview.Borders.TopLeft = 0 + tview.Borders.TopRight = 0 + tview.Borders.BottomLeft = 0 + tview.Borders.BottomRight = 0 + tview.Borders.Horizontal = 0 + tview.Borders.Vertical = 0 + err := app.Run() if err != nil { panic(err)