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 |             selectedstr = withAttr (borderAttr <> "query") . str | ||||||
|             quickhelp = borderKeysStr' [ |             quickhelp = borderKeysStr' [ | ||||||
|                ("?", str "help") |                ("?", str "help") | ||||||
|               ,("right", str "register") |               ,("RIGHT", str "register") | ||||||
|               ,("H" |               ,("H" | ||||||
|                ,if ishistorical |                ,if ishistorical | ||||||
|                 then selectedstr "historical" <+> str "/period" |                 then selectedstr "historical" <+> str "/period" | ||||||
|  | |||||||
| @ -229,8 +229,8 @@ rsDraw UIState{aopts=uopts@UIOpts{cliopts_=copts@CliOpts{reportopts_=ropts}} | |||||||
|             selectedstr = withAttr (borderAttr <> "query") . str |             selectedstr = withAttr (borderAttr <> "query") . str | ||||||
|             quickhelp = borderKeysStr' [ |             quickhelp = borderKeysStr' [ | ||||||
|                ("?", str "help") |                ("?", str "help") | ||||||
|               ,("left", str "back") |               ,("LEFT", str "back") | ||||||
|               ,("right", str "transaction") |               ,("RIGHT", str "transaction") | ||||||
|               ,("H" |               ,("H" | ||||||
|                ,if ishistorical |                ,if ishistorical | ||||||
|                 then selectedstr "historical" <+> str "/period" |                 then selectedstr "historical" <+> str "/period" | ||||||
|  | |||||||
| @ -94,8 +94,8 @@ tsDraw UIState{aopts=UIOpts{cliopts_=copts@CliOpts{reportopts_=ropts}} | |||||||
|           where |           where | ||||||
|             quickhelp = borderKeysStr [ |             quickhelp = borderKeysStr [ | ||||||
|                ("?", "help") |                ("?", "help") | ||||||
|               ,("left", "back") |               ,("LEFT", "back") | ||||||
|               ,("up/down", "prev/next") |               ,("UP/DOWN", "prev/next") | ||||||
|               --,("ESC", "cancel/top") |               --,("ESC", "cancel/top") | ||||||
|               -- ,("a", "add") |               -- ,("a", "add") | ||||||
|               ,("E", "editor") |               ,("E", "editor") | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user