Remove possiblity of displayed but non-focussed terminal
This commit is contained in:
+3
-1
@@ -421,7 +421,9 @@ updateMouseContext cfig w =
|
||||
tm <- w ^? cWorld . lWorld . terminals . ix tmid
|
||||
return $
|
||||
if isOverTerminalScreen cfig tm mpos
|
||||
then OverTerminalReturn
|
||||
then if null $ tm ^. tmInput . tiText
|
||||
then NoMouseContext
|
||||
else OverTerminalReturn
|
||||
else OverTerminalEscape
|
||||
|
||||
isOverTerminalScreen :: Configuration -> Terminal -> Point2 -> Bool
|
||||
|
||||
Reference in New Issue
Block a user