mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +03:00
term: exclusive save cursor after explicit move
In other words, don't issue the ANSI escape sequence for saving the cursor position at the start of a printf hijack sequence. Instead trust this was already done when the cursor position was last changes by a blit.
This commit is contained in:
parent
e93d50b3ee
commit
32a5e9085c
@ -1519,12 +1519,10 @@ u3_term_io_hija(void)
|
||||
c3_assert(!"hija-fcntl");
|
||||
}
|
||||
|
||||
// save cursor position,
|
||||
// set scroll region to exclude the prompt,
|
||||
// scroll up one line to make space,
|
||||
// and move the cursor onto that space.
|
||||
//
|
||||
_term_it_send_csi(uty_u, 's', 0);
|
||||
_term_it_send_csi(uty_u, 'r', 2, 1, uty_u->tat_u.siz.row_l - 1);
|
||||
_term_it_send_csi(uty_u, 'S', 1, 1);
|
||||
_term_it_send_csi(uty_u, 'H', 2, uty_u->tat_u.siz.row_l - 1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user