Skip to content

Commit

Permalink
TerminalUI tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Aug 3, 2023
1 parent 7bcc487 commit 47cec25
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion sandwich/unix-src/Test/Sandwich/Formatters/TerminalUI.hs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ appEvent s (VtyEvent e) =
& appShowFileLocations %~ not
V.EvKey c [] | c == toggleVisibilityThresholdsKey -> continue $ s
& appShowVisibilityThresholds %~ not
V.EvKey c [] | c `elem` [V.KEsc, exitKey]-> do
V.EvKey c [] | c `elem` [V.KEsc, exitKey] -> do
-- Cancel everything and wait for cleanups
liftIO $ mapM_ cancelNode (s ^. appRunTreeBase)
forM_ (s ^. appRunTreeBase) (liftIO . waitForTree)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{-# LANGUAGE CPP #-}
-- |

module Test.Sandwich.Formatters.TerminalUI.Draw.Util where

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-- |

module Test.Sandwich.Formatters.TerminalUI.Keys where

Expand Down

0 comments on commit 47cec25

Please sign in to comment.