vt100: use shorter escape sequence to clear screen
commit348cf46dcbca5fecb342b59144a3ef6b36c3c857
authorMarc André Tanner <mat@brain-dump.org>
Mon, 27 Apr 2020 05:30:14 +0000 (27 07:30 +0200)
committerMarc André Tanner <mat@brain-dump.org>
Mon, 27 Apr 2020 06:08:02 +0000 (27 08:08 +0200)
tree61dd889b1d3317a6bbe976aa3ce844057968adbf
parent4f05ef109fd54a903bd8c28a77d1ac2b56ed8289
vt100: use shorter escape sequence to clear screen

Instead of clearing the whole screen and then moving the cursor to the
home position, we can first move it there and then clear everything
below it.
ui-terminal-vt100.c