Skip to content

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jtdaugherty committed Dec 18, 2023
1 parent 10d247e commit 12fff78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Brick/Forms.hs
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,10 @@ entryBefore as a =
i' = if i == 0 then length as - 1 else i - 1
in as !! i'

withFocusAndGrouping :: (Eq n) => BrickEvent n e -> (n -> [n] -> EventM n (Form s e n) ()) -> EventM n (Form s e n) ()
withFocusAndGrouping :: (Eq n)
=> BrickEvent n e
-> (n -> [n] -> EventM n (Form s e n) ())
-> EventM n (Form s e n) ()
withFocusAndGrouping e act = do
foc <- gets formFocus
case focusGetCurrent foc of
Expand Down

0 comments on commit 12fff78

Please sign in to comment.