diff options
Diffstat (limited to 'find.go')
| -rw-r--r-- | find.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -99,8 +99,10 @@ func (tk *guiWidget) findWindows() []*guiWidget { // gocui seems to not return mouse events unless there is something there func (tk *guiWidget) findBG() *guiWidget { if tk.node.WidgetType == widget.Stdout { - tk.isBG = true - return tk + if tk.node.WidgetId != me.stdout.wId { + tk.isBG = true + return tk + } } for _, child := range tk.children { |
