mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 03:42:25 +03:00
ui: capitalise cursor keys in quick help, like help dialog
This commit is contained in:
parent
3ef8d9fc82
commit
16faa7dd9c
@ -220,7 +220,7 @@ asDraw UIState{aopts=uopts@UIOpts{cliopts_=copts@CliOpts{reportopts_=ropts}}
|
||||
selectedstr = withAttr (borderAttr <> "query") . str
|
||||
quickhelp = borderKeysStr' [
|
||||
("?", str "help")
|
||||
,("right", str "register")
|
||||
,("RIGHT", str "register")
|
||||
,("H"
|
||||
,if ishistorical
|
||||
then selectedstr "historical" <+> str "/period"
|
||||
|
@ -229,8 +229,8 @@ rsDraw UIState{aopts=uopts@UIOpts{cliopts_=copts@CliOpts{reportopts_=ropts}}
|
||||
selectedstr = withAttr (borderAttr <> "query") . str
|
||||
quickhelp = borderKeysStr' [
|
||||
("?", str "help")
|
||||
,("left", str "back")
|
||||
,("right", str "transaction")
|
||||
,("LEFT", str "back")
|
||||
,("RIGHT", str "transaction")
|
||||
,("H"
|
||||
,if ishistorical
|
||||
then selectedstr "historical" <+> str "/period"
|
||||
|
@ -94,8 +94,8 @@ tsDraw UIState{aopts=UIOpts{cliopts_=copts@CliOpts{reportopts_=ropts}}
|
||||
where
|
||||
quickhelp = borderKeysStr [
|
||||
("?", "help")
|
||||
,("left", "back")
|
||||
,("up/down", "prev/next")
|
||||
,("LEFT", "back")
|
||||
,("UP/DOWN", "prev/next")
|
||||
--,("ESC", "cancel/top")
|
||||
-- ,("a", "add")
|
||||
,("E", "editor")
|
||||
|
Loading…
Reference in New Issue
Block a user