summaryrefslogtreecommitdiffstats
path: root/test/day-001.sh
diff options
context:
space:
mode:
authorBaptiste Jonglez <baptiste--git@jonglez.org>2012-05-14 12:38:19 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-05-14 19:31:12 +0200
commitf5dd276edbeb65d787fcfd30a0d07bbc2660813c (patch)
tree1fed95a92495e3bd7b3d42ad616b9cd3aa810fbf /test/day-001.sh
parent6da787a5cc94d1b20d0730c18905ff3b93201874 (diff)
downloadcalcurse-f5dd276edbeb65d787fcfd30a0d07bbc2660813c.tar.gz
calcurse-f5dd276edbeb65d787fcfd30a0d07bbc2660813c.zip
src/utils.c: Add a status_ask_choice() function
This function allows the user to choose between various alternatives, each one being associated to a given key. This will allow a great deal of factorisation, which will make it easier to handle special events (like resizing, user escape...) in an uniform manner. The cool part of the approach taken here is that it allows full i18n (i.e. the key bound to an alternative can be different depending on the language), at the expense of a somewhat less readable code on the caller side. Signed-off-by: Baptiste Jonglez <baptiste--git@jonglez.org> Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'test/day-001.sh')
0 files changed, 0 insertions, 0 deletions