rm more wrong code
This commit is contained in:
parent
ddd7709182
commit
948d2af071
8
init.go
8
init.go
|
@ -337,14 +337,6 @@ func refreshGocui() {
|
|||
// redraw the windows if something has changed
|
||||
if time.Since(lastRefresh) > 1000*time.Millisecond {
|
||||
if me.refresh {
|
||||
if me.stdout.outputOnTop {
|
||||
me.stdout.outputOnTop = false
|
||||
setThingsOnTop()
|
||||
} else {
|
||||
me.stdout.outputOnTop = true
|
||||
setThingsOnTop()
|
||||
}
|
||||
relocateStdoutOffscreen()
|
||||
log.Info("refresh triggered")
|
||||
me.newWindowTrigger <- me.treeRoot.TK.(*guiWidget)
|
||||
me.refresh = false
|
||||
|
|
Loading…
Reference in New Issue