mirror of
https://github.com/jtdaugherty/brick.git
synced 2024-12-01 17:32:52 +03:00
UI tweak
This commit is contained in:
parent
70a137abe4
commit
3e65af58e9
@ -20,9 +20,7 @@ drawUI st =
|
||||
vBox [ "Top"
|
||||
, hBorder '-'
|
||||
, hBox [ " Edit: "
|
||||
, vBox [ hLimit 20 $ edit (stEditor st) `withAttr` (cyan `on` blue)
|
||||
, txt $ show (100 - (length $ editStr $ stEditor st)) ++ " chars left"
|
||||
]
|
||||
, hLimit 20 $ edit (stEditor st) `withAttr` (cyan `on` blue)
|
||||
]
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user