diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-02-20 06:05:08 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-03-02 09:43:04 +0100 |
commit | b5c1981842402f6fe8d4c02176db923e1955175b (patch) | |
tree | cd4584c5c15004515ee9e4244b2b38d0e5725d4e /src/notify.c | |
parent | 80d882d03ddb7eb5807cba13ee74b389846206d4 (diff) | |
download | calcurse-b5c1981842402f6fe8d4c02176db923e1955175b.tar.gz calcurse-b5c1981842402f6fe8d4c02176db923e1955175b.zip |
Revamp key bindings display
Refactor the logic inside keys_display_bindings_bar() and remove the
need to place the "show next page" key binding at the right positions.
This used to be a pain to maintain, since we always had to move key
bindings around when introducing a new key. Fix this by passing the
actual key bindings in an array and using a separate parameter for the
"show next page" key binding (which is automatically inserted at the
right places from now on).
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/notify.c')
0 files changed, 0 insertions, 0 deletions