Fix cursor placement in screen UI uistatus - sacc - sacc(omys), simple console gopher client
HTML git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR LICENSE
---
DIR commit 795273efd4ce345d72749d61e1a9be5c978aba73
DIR parent 723df46be763ef55707fd3c63c8f70b0920ff17b
HTML Author: Quentin Rameau <quinq@fifth.space>
Date: Sat, 21 Oct 2017 13:47:09 +0200
Fix cursor placement in screen UI uistatus
Diffstat:
M ui_ti.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/ui_ti.c b/ui_ti.c
@@ -67,6 +67,8 @@ uiprompt(char *fmt, ...)
printf("%*s", columns-r, " ");
+ putp(tparm(cursor_address, lines-1, r));
+
tsacc.c_lflag |= (ECHO|ICANON);
tcsetattr(0, TCSANOW, &tsacc);
fflush(stdout);