Skip to content

Commit

Permalink
Merge pull request elfmz#2599 from unxed/iterm_fix
Browse files Browse the repository at this point in the history
fixed iterm2 cursor shape esc sequences
  • Loading branch information
elfmz authored Dec 29, 2024
2 parents b13a695 + f78d42d commit 9fb2133
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 9fb2133

Please sign in to comment.