mirror of
https://github.com/jtdaugherty/brick.git
synced 2024-09-11 23:57:22 +03:00
CustomKeybindingDemo: nit
This commit is contained in:
parent
6bc22b87d7
commit
a768c6600d
@ -90,9 +90,7 @@ appEvent _ =
|
||||
drawUi :: St -> [Widget ()]
|
||||
drawUi st = [body]
|
||||
where
|
||||
binding = do
|
||||
(k, mods) <- st^.lastKey
|
||||
return $ K.binding k mods
|
||||
binding = uncurry K.binding <$> st^.lastKey
|
||||
keybindingHelp = K.keybindingHelpWidget (st^.keyConfig) handlers
|
||||
status = hLimit 40 $
|
||||
padRight Max $
|
||||
|
Loading…
Reference in New Issue
Block a user