set stdout in a better place

This commit is contained in:
Jeff Carr 2025-02-07 19:11:20 -06:00
parent a295aa420b
commit 481fa11211
1 changed files with 2 additions and 9 deletions

11
init.go
View File

@ -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)