Changeset View
Changeset View
Standalone View
Standalone View
src/Vt102Emulation.cpp
Context not available. | |||||
903 | 903 | | |||
---|---|---|---|---|---|
904 | // Set Cursor Style (DECSCUSR), VT520, with the extra xterm sequences | 904 | // Set Cursor Style (DECSCUSR), VT520, with the extra xterm sequences | ||
905 | // the first one is a special case, 'ESC[ q', which mimics 'ESC[1 q' | 905 | // the first one is a special case, 'ESC[ q', which mimics 'ESC[1 q' | ||
906 | // Using 0 to reset to default is matching VTE, but not any official standard. | ||||
906 | case token_csi_sp ('q' ) : emit setCursorStyleRequest(Enum::BlockCursor, true); break; | 907 | case token_csi_sp ('q' ) : emit setCursorStyleRequest(Enum::BlockCursor, true); break; | ||
907 | case token_csi_psp('q', 0) : emit setCursorStyleRequest(Enum::BlockCursor, true); break; | 908 | case token_csi_psp('q', 0) : emit resetCursorStyleRequest(); break; | ||
908 | case token_csi_psp('q', 1) : emit setCursorStyleRequest(Enum::BlockCursor, true); break; | 909 | case token_csi_psp('q', 1) : emit setCursorStyleRequest(Enum::BlockCursor, true); break; | ||
909 | case token_csi_psp('q', 2) : emit setCursorStyleRequest(Enum::BlockCursor, false); break; | 910 | case token_csi_psp('q', 2) : emit setCursorStyleRequest(Enum::BlockCursor, false); break; | ||
910 | case token_csi_psp('q', 3) : emit setCursorStyleRequest(Enum::UnderlineCursor, true); break; | 911 | case token_csi_psp('q', 3) : emit setCursorStyleRequest(Enum::UnderlineCursor, true); break; | ||
Context not available. |