summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-06 18:48:49 -0500
committerJune McEnroe <june@causal.agency>2020-02-06 18:48:49 -0500
commit34514cf2ee6dd020ca812653ce3a23e737d2bf62 (patch)
tree8f70074561aee846bb64807334ad30fe22488a9d /ui.c
parentNever consider notices hot (diff)
downloadcatgirl-34514cf2ee6dd020ca812653ce3a23e737d2bf62.tar.gz
catgirl-34514cf2ee6dd020ca812653ce3a23e737d2bf62.zip
Render actions in italic
Also render italic as normal if it's unsupported, as that is what would
happen anyway if curses has A_ITALIC but the terminal has no sitm. That
format string is kinda bad.
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index b0e30b9..9f0bb88 100644
--- a/ui.c
+++ b/ui.c
@@ -39,7 +39,7 @@
 #undef lines
 
 #ifndef A_ITALIC
-#define A_ITALIC A_UNDERLINE
+#define A_ITALIC A_NORMAL
 #endif
 
 #define BOTTOM (LINES - 1)
='logsubject'>Reimplement text macrosJune McEnroe 2022-02-19Factor out input handling to input.cJune McEnroe 2022-02-19Factor out window management to window.cJune McEnroe 2022-02-19Enable -Wmissing-prototypesJune McEnroe In other words, warn when a function is missing static. I don't see why this isn't in -Wextra. 2022-02-19Fix edit.[ch] license notice additional permissionsJune McEnroe 2022-02-19Run line editing testsJune McEnroe I know, it feels wrong. 2022-02-18Implement new line editing "library"June McEnroe Losing tab complete and text macros, for now. This new implementation works on an instance of a struct and does not interact with the rest of catgirl, making it possible to copy into another project. Unlike existing line editing libraries, this one is entirely abstract and can be rendered externally. My goal with this library is to be able to implement vi mode. Since it operates on struct instances rather than globals, it might also be possible to give catgirl separate line editing buffers for each window, which would be a nice UX improvement. 2022-02-18Simplify cursor positioning in inputJune McEnroe Do some extra work by adding the portion before the cursor to the input window twice, but simplify the interaction with the split point. This fixes the awkward behaviour when moving the cursor across colour codes where the code would be partially interpreted up to the cursor. 2022-02-18Fix M-f orderingJune McEnroe 2022-02-12Move sandman build to scripts/MakefileJune McEnroe 2022-02-12Use compat_readpassphrase.c on LinuxJune McEnroe 2022-02-12Copy RPP defines from oconfigureJune McEnroe