set stdout in a better place
This commit is contained in:
parent
a295aa420b
commit
481fa11211
11
init.go
11
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)
|
||||
|
|
Loading…
Reference in New Issue