Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@Tyriar Hi, I was working on #3293 and for that I have done the following things and created this draft PR to discuss.
Here are some changes I made:
Terminal.ts:
userCursorStyle
) when the terminal initializes. This ensures that the terminal keeps my preferred cursor style even when control sequences are sent.InputHandler.ts:
setCursorStyle
function to applyuserCursorStyle
when handling the reset cursor style sequence (\x1b[0 q
). I also included some console log statements to help debug the cursor style changes.Possible Issue with Control Sequences:
While testing, I noticed something off with how the control sequences are being processed. Specifically, the output logs don't match the expected behavior.
Current Log Outputs:
Expected Log Outputs:
Am I testing / emulating the xterm terminal properly?
The current output suggests that the control sequences may not be applied correctly, particularly when resetting the cursor style. This might need a closer look to figure out what's going on.
Help would be appreciated.