From 6d48956026bf856b59ad1e46831f9bd908a4eabd Mon Sep 17 00:00:00 2001 From: Divam Date: Thu, 26 Sep 2024 18:23:11 +0900 Subject: [PATCH] minor code reformat --- lib-tui/GHCup/Brick/App.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib-tui/GHCup/Brick/App.hs b/lib-tui/GHCup/Brick/App.hs index 3343503d..fac6c1b9 100644 --- a/lib-tui/GHCup/Brick/App.hs +++ b/lib-tui/GHCup/Brick/App.hs @@ -155,8 +155,7 @@ compileHLSHandler = menuWithOverlayHandler compileHLSMenu Actions.compileHLS Com -- | Passes all events to innerHandler if an overlay is opened -- else handles the exitKey and Enter key for the Menu's "OkButton" -menuWithOverlayHandler - :: Lens' BrickState (Menu.Menu t Name) +menuWithOverlayHandler :: Lens' BrickState (Menu.Menu t Name) -> (t -> ((Int, ListResult) -> ReaderT AppState IO (Either String a))) -> (BrickEvent Name e -> EventM Name (Menu.Menu t Name) ()) -> BrickEvent Name e