about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-07 20:28:22 -0500
committerJune McEnroe <june@causal.agency>2020-02-07 20:28:22 -0500
commitaed762368d8500fdb364e316e63486f801a453f7 (patch)
tree8176c3d3742873f89611ac589fddecb50d4210cc
parentAdd key bindings for IRC formatting (diff)
downloadcatgirl-aed762368d8500fdb364e316e63486f801a453f7.tar.gz
catgirl-aed762368d8500fdb364e316e63486f801a453f7.zip
Show one cell to the right of the input cursor
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index d4ef241..f71672b 100644
--- a/ui.c
+++ b/ui.c
@@ -226,7 +226,7 @@ void uiDraw(void) {
 	getyx(input, y, x);
 	pnoutrefresh(
 		input,
-		0, (x > RIGHT ? x - RIGHT : 0),
+		0, (x + 1 > RIGHT ? x + 1 - RIGHT : 0),
 		BOTTOM, 0,
 		BOTTOM, RIGHT
 	);
/tr> 2020-06-08Prefix mandoc with exec in about-filterJune McEnroe 2020-06-07Remove mktemp options from mkbuiltins, mktokensJune McEnroe Why even? 2020-06-07Cast z_stream fields to size_tJune McEnroe In the version of zlib in OpenBSD, these fields are of type off_t, which is signed (why?), rather than uLong. 2020-06-07Call static_assert by _Static_assertJune McEnroe OpenBSD doesn't #define static_assert in assert.h and _Static_assert is its real name I guess so why not? 2020-06-07Add OpenBSD to install.shJune McEnroe Straightforward. 2020-06-03Add The Song of AchillesJune McEnroe 2020-06-01Allow redirecting input in everJune McEnroe 2020-05-31Add %c conversion to c scriptJune McEnroe 2020-05-31Add c script to READMEJune McEnroe 2020-05-31Add c scriptJune McEnroe 2020-05-31Update mdoc source URLsJune McEnroe 2020-05-26Remove unfinished PSF fontsJune McEnroe