diff options
author | June McEnroe <june@causal.agency> | 2020-02-07 20:28:22 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-07 20:28:22 -0500 |
commit | aed762368d8500fdb364e316e63486f801a453f7 (patch) | |
tree | 8176c3d3742873f89611ac589fddecb50d4210cc /ui.c | |
parent | Add key bindings for IRC formatting (diff) | |
download | catgirl-aed762368d8500fdb364e316e63486f801a453f7.tar.gz catgirl-aed762368d8500fdb364e316e63486f801a453f7.zip |
Show one cell to the right of the input cursor
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 2 |
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 ); |