summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-07 19:11:20 -0600
committerJeff Carr <[email protected]>2025-02-07 19:11:20 -0600
commit481fa1121153eea80ccdddadae34afac20cc5655 (patch)
treef810f1f462dd698fbdb4c7cdfe00c1897baffa39 /init.go
parenta295aa420b00e071510e7586d797cee6217f144e (diff)
set stdout in a better placev0.22.19
Diffstat (limited to 'init.go')
-rw-r--r--init.go11
1 files 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)