Fix cursor placement in screen UI uistatus - sacc - sacc(omys), simple console … | |
git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65… | |
Log | |
Files | |
Refs | |
Tags | |
LICENSE | |
--- | |
commit 795273efd4ce345d72749d61e1a9be5c978aba73 | |
parent 723df46be763ef55707fd3c63c8f70b0920ff17b | |
Author: Quentin Rameau <[email protected]> | |
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(-) | |
--- | |
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); |