From 481fa1121153eea80ccdddadae34afac20cc5655 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 7 Feb 2025 19:11:20 -0600 Subject: [PATCH] set stdout in a better place --- init.go | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/init.go b/init.go index 713ad84..f599a8d 100644 --- a/init.go +++ b/init.go @@ -41,8 +41,8 @@ func init() { // initial stdout window settings me.stdout.w = 180 me.stdout.h = 40 - me.stdout.lastW = 30 - me.stdout.lastH = 10 + me.stdout.lastW = 4 + me.stdout.lastH = 20 // just make up unique values for these me.dropdown.wId = -77 @@ -185,13 +185,6 @@ func gocuiMain() { // all applications will use these keys. they are universal. // registered event handlers still have the events sent to gocuiEvent() above registerHandlers(g) - /* - if err := defaultKeybindings(g); err != nil { - // normally panic here - log.Log(NOW, "defaultKeybindings(g) panic err =", err) - panic("gocuiTKdefaultkeybindings OOPS") - } - */ if err := g.MainLoop(); err != nil && !errors.Is(err, gocui.ErrQuit) { log.Log(NOW, "g.MainLoop() panic err =", err)