Partial rethink of terminal text input
This commit is contained in:
+2
-2
@@ -399,8 +399,8 @@ updateMouseContextGame cfig u = case u ^. uvWorld . input . mouseContext of
|
||||
return $
|
||||
if isOverTerminalScreen cfig mpos
|
||||
then fromMaybe NoMouseContext $ do
|
||||
let s = tm ^. tmInput . tiText
|
||||
guard $ not (null s) && _tmStatus tm == TerminalReady
|
||||
let s = tm ^. tmStatus . tiText
|
||||
guard $ not (null s) -- && _tmStatus tm == TerminalTextInput
|
||||
return $ OverTerminalReturn tmid
|
||||
else OverTerminalEscape
|
||||
|
||||
|
||||
Reference in New Issue
Block a user