diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2017-12-10 00:02:08 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2017-12-10 14:33:31 +0100 |
commit | f8e6e0d69162ee30998e433bdcd223c9537937b0 (patch) | |
tree | bf1268c997f1bc36dc5da34113a73713ad5c3bd9 /src/custom.c | |
parent | 9e060b96c2c5997342a06b9958db0bf470646a96 (diff) | |
download | calcurse-f8e6e0d69162ee30998e433bdcd223c9537937b0.tar.gz calcurse-f8e6e0d69162ee30998e433bdcd223c9537937b0.zip |
Fix no-colour theme
In colour customization, pressing cancel ('ESC' by default) will
deselect all colours and put calcurse in no-color mode. For this
to work, all colour changes must be performed with the routines
custom_apply_attr()/custom_remove_attr(). Fixed for the getstring
cursor, the scroll window border and the week number.
In addition, the week number is unconditionally coloured as the
rest of the calendar contents whether CAL is selected or not.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/custom.c')
0 files changed, 0 insertions, 0 deletions