summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
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)