Implements a help dialog in the TUI #63

Merged
pitmutt merged 257 commits from rav001 into dev041 2024-02-13 22:12:37 +00:00
Showing only changes of commit 06c58f62df - Show all commits

View file

@ -504,7 +504,7 @@ mkSendForm bal =
] ]
where where
isAmountValid :: Integer -> Float -> Bool isAmountValid :: Integer -> Float -> Bool
isAmountValid b i = (fromIntegral b * 100000000.0) >= i isAmountValid b i = (fromIntegral b / 100000000.0) >= i
label s w = label s w =
padBottom (Pad 1) $ vLimit 1 (hLimit 15 $ str s <+> fill ' ') <+> w padBottom (Pad 1) $ vLimit 1 (hLimit 15 $ str s <+> fill ' ') <+> w