Commit before restricting menu options
This commit is contained in:
@@ -74,11 +74,6 @@ handlePressedKey _ scode u = case scode of
|
||||
_ -> return $ Just u
|
||||
_ -> handlePressedKeyInMenu (head $ _uvScreenLayers u) scode u
|
||||
|
||||
--doBackspace :: T.Text -> T.Text
|
||||
--doBackspace t = case T.unsnoc t of
|
||||
-- Nothing -> t
|
||||
-- Just (t', _) -> t'
|
||||
|
||||
handlePressedKeyTerminal :: Int -> Scancode -> World -> World
|
||||
handlePressedKeyTerminal tmid scode w = case scode of
|
||||
ScancodeEscape -> w & cWorld . lWorld . terminals . ix tmid . tmInput . tiFocus %~ const False
|
||||
|
||||
Reference in New Issue
Block a user