Clear terminal at screen UI startup - sacc - sacc(omys), simple console gopher client | |
git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/ | |
Log | |
Files | |
Refs | |
Tags | |
LICENSE | |
--- | |
commit 11857b1546e0f77faf5610b69563a8eece3a38ee | |
parent 91896059f8e2b6ee9a238ee06a77b6a776d0c399 | |
Author: Quentin Rameau | |
Date: Sun, 30 Jul 2017 19:37:44 +0200 Clear terminal at screen UI startup Diffstat: M ui_ti.c | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- | |
diff --git a/ui_ti.c b/ui_ti.c | |
@@ -35,6 +35,7 @@ uisetup(void) tcsetattr(0, TCSANOW, &tsacc); setupterm(NULL, 1, NULL); + putp(tparm(clear_screen)); putp(tparm(save_cursor)); putp(tparm(change_scroll_region, 0, lines-2)); putp(tparm(restore_cursor)); |