Skip to content

Commit

Permalink
Fix help exit
Browse files Browse the repository at this point in the history
  • Loading branch information
ldgrp committed Oct 11, 2020
1 parent 8a80a23 commit a72f913
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions up-top/src/Event.hs
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,7 @@ handleEvent s (VtyEvent e) =

HelpView ->
case e of
EvKey KEsc [] -> continue (setMainScreen s)
EvKey (KChar 'q') [] -> continue (setMainScreen s)
EvKey (KChar '1') [] -> continue (setMainScreen s)
_ -> continue s
_ -> continue (setMainScreen s)
handleEvent s (AppEvent (UAccounts as)) =
continue (s & accounts .~ L.list AccountList (Vec.fromList as) 1
& transactions %~ H.union transactions')
Expand Down

0 comments on commit a72f913

Please sign in to comment.