Add option to completely disable scrollbar. #15798

Closed
opened 2026-01-31 04:48:42 +00:00 by claunia · 6 comments
Owner

Originally created by @rkitover on GitHub (Nov 6, 2021).

Description of the new feature/enhancement

With scrollBarState: "hidden" set in the profile settings, there is still a white line in the lower right of the terminal indicating the presence of scrollback. I would like to be able to completely disable the scrollbar, and not just put it in the hidden state.

Proposed technical implementation details (optional)

Perhaps allow setting scrollBarState: "none" to completely disable scrollbar functionality.

Originally created by @rkitover on GitHub (Nov 6, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement With `scrollBarState: "hidden"` set in the profile settings, there is still a white line in the lower right of the terminal indicating the presence of scrollback. I would like to be able to completely disable the scrollbar, and not just put it in the hidden state. # Proposed technical implementation details (optional) Perhaps allow setting `scrollBarState: "none"` to completely disable scrollbar functionality.
Author
Owner

@zadjii-msft commented on GitHub (Nov 8, 2021):

@rkitover Could you share your settings.json file?

@zadjii-msft commented on GitHub (Nov 8, 2021): @rkitover Could you share your [settings.json file](https://github.com/microsoft/terminal/wiki/Frequently-Asked-Questions-(FAQ)#where-can-i-find-the-settings-file)?
Author
Owner

@rkitover commented on GitHub (Nov 8, 2021):

This is what it looks like:

window screenshot

Here's my settings.json

https://gist.github.com/rkitover/267a6d84fb2cf80343b1737de32b363d

This is Terminal Preview version 1.12.2931.0

@rkitover commented on GitHub (Nov 8, 2021): This is what it looks like: ![window screenshot](https://lh3.googleusercontent.com/pw/AM-JKLW238MkrICH9ReojVPcd0UIrn6M6Eci8dhR8hiavHnthiUcsyEot-rQu3ajrqWiMMFzY_7c20c0uWUvf-D-7b-2wL8OvbpolP51_9O--j-hx-GD2Itz_RB_NYeItqUEvp-Gzua39ERdRxMKkdmmrswD=w1026-h962-no?authuser=0) Here's my settings.json https://gist.github.com/rkitover/267a6d84fb2cf80343b1737de32b363d This is Terminal Preview version 1.12.2931.0
Author
Owner

@zadjii-msft commented on GitHub (Nov 8, 2021):

The property is scrollbarState

you have scrollBarState.

The properties are case-sensitive 😄

@zadjii-msft commented on GitHub (Nov 8, 2021): The property is [`scrollbarState`](https://docs.microsoft.com/en-us/windows/terminal/customize-settings/profile-appearance#scrollbar-visibility) you have `scrollBarState`. The properties are case-sensitive 😄
Author
Owner

@rkitover commented on GitHub (Nov 8, 2021):

That does fix it, thank you, sorry about that.

Also I wanted to mention that this property is not on the documentation page currently.

@rkitover commented on GitHub (Nov 8, 2021): That does fix it, thank you, sorry about that. Also I wanted to mention that this property is not on the documentation page currently.
Author
Owner

@zadjii-msft commented on GitHub (Nov 8, 2021):

Also I wanted to mention that this property is not on the documentation page currently.

https://docs.microsoft.com/en-us/windows/terminal/customize-settings/profile-appearance#scrollbar-visibility

@zadjii-msft commented on GitHub (Nov 8, 2021): > Also I wanted to mention that this property is not on the documentation page currently. https://docs.microsoft.com/en-us/windows/terminal/customize-settings/profile-appearance#scrollbar-visibility
Author
Owner

@rkitover commented on GitHub (Nov 8, 2021):

My apologies again, for some reason I did not see it, and I looked through all the sections.

@rkitover commented on GitHub (Nov 8, 2021): My apologies again, for some reason I did not see it, and I looked through all the sections.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15798