diff options
Fix bug restoring cursor position
Sequences like DECSC, DECRC, ESC [?1047l or ESC [?1047h save and restore
cursor attributes, than taken from vt100 manual are:
Save Cursor (DECSC) ESC 7
===========================
Saves the following in terminal memory.
- cursor position
- graphic rendition
- character set shift state
- state of wrap flag
- state of origin mode
Restore Cursor (DECRC) ESC 8
===========================
Restores the states described for (DECSC) above. If none of these
characteristics were saved, the cursor moves to home position; origin
mode is reset; no character attributes are assigned; and the default
character set mapping is established.
This implies that hide attribute of the cursor should not be saved/restored
in these sequences. The best way to fix this problem is moving hide
attribute into the terminal mode, instead of having it in the cursor state.
---
st.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Diffstat (limited to '%25252525252525253fid%25252525252525253d5260a9ea2249b9159c188a6e27a39a38d131e411&id2%25252525252525253dee3e0a9fd032bb35eea5c46fc0a9efcd6a80579a%252525252525253fid%252525252525253d5260a9ea2249b9159c188a6e27a39a38d131e411%2525252525253fid%2525252525253dee3e0a9fd032bb35eea5c46fc0a9efcd6a80579a%25252525253fid%25252525253dee3e0a9fd032bb35eea5c46fc0a9efcd6a80579a%252525253fid%252525253dee3e0a9fd032bb35eea5c46fc0a9efcd6a80579a&id2%252525253dba9d0365ac7e138b643d7179457f8465a1dc1191%2525253fid%2525253dee3e0a9fd032bb35eea5c46fc0a9efcd6a80579a%25253fid%25253dba9d0365ac7e138b643d7179457f8465a1dc1191%253fid%253d950ff21e17af487b205ea0b666be015790114fa7%3fid%3d950ff21e17af487b205ea0b666be015790114fa7?id=950ff21e17af487b205ea0b666be015790114fa7')
0 files changed, 0 insertions, 0 deletions
