diff options
author | Baptiste Jonglez <baptiste--git@jonglez.org> | 2012-05-13 14:09:21 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-14 19:31:13 +0200 |
commit | 13d6f8703bacfb8543c9d22c01db60e083650cad (patch) | |
tree | c7c9449a0627df8b17be995cfa02fa8ccca07711 /test | |
parent | 7d4ef08345d51e59b045c3d8415a4f15bd758d3c (diff) | |
download | calcurse-13d6f8703bacfb8543c9d22c01db60e083650cad.tar.gz calcurse-13d6f8703bacfb8543c9d22c01db60e083650cad.zip |
Factorize boolean user prompting.
Introduce a new `status_ask_bool()` function, and use it where
applicable.
This greatly reduces code duplication, and will allow handling special
events (resize, user escape) much more uniformely.
Signed-off-by: Baptiste Jonglez <baptiste--git@jonglez.org>
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions