xterm: DECSCUSR cursor shapes; block cursor shows the character
CSI Ps SP q is stored as Terminal.cursorShape / cursorShapeBlinks (Ps 0 returns to the view's configured cursorType; RIS clears it) and reported by DECRQSS " q". The painter draws the requested shape. A focused block cursor now redraws the character under it in the background colour instead of hiding it, spans both columns of a wide character, and the underline and bar cursors are drawn in the cursor's cell (they were drawn at the top of the terminal). Blinking is stored but not animated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -471,6 +471,11 @@ class _TerminalDebuggerHandler implements EscapeHandler {
|
||||
onCommand('setCursorUnderline');
|
||||
}
|
||||
|
||||
@override
|
||||
void setCursorShape(int shape) {
|
||||
onCommand('setCursorShape $shape');
|
||||
}
|
||||
|
||||
@override
|
||||
void resetTerminal() {
|
||||
onCommand('resetTerminal');
|
||||
|
||||
Reference in New Issue
Block a user