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
 	);
ry.c?h=1.4.0&id=d14c5f6d3ac827e7b46831c4151638ab4b638ae1&follow=1'>Move log-functions into ui-log.cLars Hjemli 2006-12-11Move repo summary functions into ui-summary.cLars Hjemli 2006-12-11Move functions for repolist output into ui-repolist.cLars Hjemli 2006-12-11Move common output-functions into ui-shared.cLars Hjemli 2006-12-11Rename config.c to parsing.c + move cgit_parse_query from cgit.c to parsing.cLars Hjemli 2006-12-11Avoid infinite loops in caching layerLars Hjemli 2006-12-11Let 'make install' clear all cachefilesLars Hjemli 2006-12-11Fix cache algorithm loopholeLars Hjemli 2006-12-10Add version identifier in generated filesLars Hjemli 2006-12-10Add license file and copyright noticesLars Hjemli 2006-12-10Add caching infrastructureLars Hjemli