summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-13 22:32:35 -0500
committerJune McEnroe <june@causal.agency>2020-02-13 22:32:35 -0500
commit3b257a55c3d989a601589beaf12fb5a197508e37 (patch)
treea2b8e449cb46883fdea94257df3209df29cc9a0e
parentDocument environment variables used (diff)
downloadcatgirl-3b257a55c3d989a601589beaf12fb5a197508e37.tar.gz
catgirl-3b257a55c3d989a601589beaf12fb5a197508e37.zip
Set hidden to true initially
Otherwise uiShow in uiInit does nothing, of course.
Diffstat (limited to '')
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 65255f9..f44a78b 100644
--- a/ui.c
+++ b/ui.c
@@ -281,7 +281,7 @@ void uiInit(void) {
 	uiShow();
 }
 
-static bool hidden;
+static bool hidden = true;
 static bool waiting;
 
 static char title[256];
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