Work on tab completion

This commit is contained in:
2025-12-26 21:49:39 +00:00
parent 2fd4a3d2e3
commit bb376b0a56
2 changed files with 20 additions and 2 deletions
+2 -2
View File
@@ -132,9 +132,9 @@ terminalWheelEvent :: Int -> Int -> World -> World
terminalWheelEvent yi tmid w
| w & has (input . mouseButtons . ix ButtonRight)
, Just TerminalTextInput{} <- w ^? cWorld . lWorld . terminals . ix tmid . tmStatus =
w & cWorld . lWorld . terminals . ix tmid %~ g
| Just TerminalTextInput{} <- w ^? cWorld . lWorld . terminals . ix tmid . tmStatus =
w & cWorld . lWorld . terminals . ix tmid %~ f
| Just TerminalTextInput{} <- w ^? cWorld . lWorld . terminals . ix tmid . tmStatus =
w & cWorld . lWorld . terminals . ix tmid %~ g
| otherwise = w
where
dowrap = if yi > 0 then wrapup else wrapdown