Sample Header Ad - 728x90

Does the RESTORE CURSOR escape sequence also restore formatting?

0 votes
1 answer
90 views
When using the save/restore cursor escape sequences \e7 & \e8, I find that it not only restores the cursor position, but it also restores the text formatting (colors). I've tried under WSL, vscode in Windows, and in an online Ubuntu VM. Is this standardized (for some value of 'standard')? Can it be relied on in most terminals in use today?
Asked by Reinstate Monica (733 rep)
Oct 6, 2024, 06:45 PM
Last activity: Oct 6, 2024, 07:49 PM