diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-14 18:18:31 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-14 18:23:31 +0200 |
commit | c21137129adf0e8dcb08ef43aa8174c8f935ca06 (patch) | |
tree | b06fda3eb10fe6a4100ce7f4c67582524f04e83a /src/calcurse.c | |
parent | ab4c4dee76b99f0a454bcf0fdd877cf7fdb2dbc4 (diff) | |
download | calcurse-c21137129adf0e8dcb08ef43aa8174c8f935ca06.zip |
Do not unnecessarily refresh in config menu
We don't need to refresh windows every time an unassigned key is
pressed. Add a condition to skip the refresh part if that is the case.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.c')
-rw-r--r-- | src/calcurse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/calcurse.c b/src/calcurse.c index 0ae7e9a..4a16cdb 100644 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -283,6 +283,8 @@ main (int argc, char **argv) case 'S': custom_sidebar_config (); break; + default: + continue; } wins_reset (); wins_update (); |