Skip to content

Commit

Permalink
fixed iterm2 cursor shape esc sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
unxed committed Dec 26, 2024
1 parent 531a49c commit f78d42d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WinPort/src/Backend/TTY/TTYOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ void TTYOutput::ChangeCursorHeight(unsigned int height)

} else {
Format(ESC "[3 q"); // Blink Underline
Format(ESC "]50;CursorShape=2\x07"); // Same for iTerm2
Format(ESC "]1337;CursorShape=2\x07"); // Same for iTerm2
}

} else {
Expand All @@ -418,7 +418,7 @@ void TTYOutput::ChangeCursorHeight(unsigned int height)

} else {
Format(ESC "[0 q"); // Blink Block (Default)
Format(ESC "]50;CursorShape=0\x07"); // Same for iTerm2
Format(ESC "]1337;CursorShape=0\x07"); // Same for iTerm2
}
}
}
Expand Down

0 comments on commit f78d42d

Please sign in to comment.