-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
terminal: additional preferences to control xterm options #7284
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on Gitpod. Could you please kindly explain how to let the terminal display bold texts, so that i can test drawBoldTextInBrightColors
?
This commit adds additional `preferences` to control the options passed to `xterm`. The commit includes the following new preferences: - `terminal.integrated.drawBoldTextInBrightColors` - `terminal.integrated.fastScrollSensitivity` - `terminal.integrated.cursorBlinking` - `terminal.integrated.cursorStyle` - `terminal.integrated.cursorWidth` Signed-off-by: Vincent Fugnitto <[email protected]>
7da401a
to
8cc0868
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested all 5 new prefs in gitpod. all worked properly.
Thank you for the work !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed and tested. Looks good, works well. Sorry for delay. Very good contribution!
Thank you for the review @elaihau @AndrienkoAleksandr :) |
@vince-fugnitto and @akosyakov, Can you please review and merge #7331? I just improved the message formatting! |
What it does
This commit adds additional
preferences
to control the options passed toxterm
.The commit includes the following new preferences:
terminal.integrated.drawBoldTextInBrightColors
terminal.integrated.fastScrollSensitivity
terminal.integrated.cursorBlinking
terminal.integrated.cursorStyle
terminal.integrated.cursorWidth
How to test
For each test, use a
terminal
to verify the changes:terminal.integrated.drawBoldTextInBrightColors
Description
Controls whether to draw bold text in bright colors (notice the configs folder).
True
False
terminal.integrated.fastScrollSensitivity
Description
Controls the fast scrolling speed.
Test Case
Update the value, and verify the changes by scrolling while pressing alt.
The higher the value the faster the scroll.
terminal.integrated.cursorBlinking
Description
Controls whether the cursor blinks.
Test Case
Update the value, and verify the changes (the cursor should blink when set to
true
)terminal.integrated.cursorStyle
Description
Controls the style of the terminal cursor.
Block
Bar
Underline
terminal.integrated.cursorWidth
Description
Controls the cursor width when set to 'line'
1
10
Review checklist
Reminder for reviewers
Signed-off-by: Vincent Fugnitto [email protected]