How to add scrollbar?
See original GitHub issueHow can I add a scroll bar? Currently when I scroll it with mouse wheel it is okay, but I think it changes the dom to do so by having the exact number of divs as height, and modifying its content on mousewheel.
There is Terminal.prototype.bindMouse = function() {
, by looking its context all I see it sends some characters but I am not sure. Any thoughts on this? I can at least bind two buttons, one up and down for emulating that mouse movement one by one.
Issue Analytics
- State:
- Created 9 years ago
- Comments:12
Top Results From Across the Web
How do you add a scroll bar to a div? - Stack Overflow
You need to add style="overflow-y:scroll;" to the div tag. (This will force a scrollbar on the vertical). If you only want a scrollbar...
Read more >How To Create a Custom Scrollbar - W3Schools
Learn how to create a custom scrollbar with CSS. Custom Scrollbars. Custom Scrollbar Example. Note: The -webkit-scrollbar is not supported in Firefox or...
Read more >Learn How to Create a Scrollbar in Html Table? - eduCBA
Suppose we want to add a scroll bar option in HTML, use an “overflow” option and set it as auto-enabled for adding both...
Read more >How to add scrollbar to div - Educative.io
To add scrollbar on both axes, you can add the overflow property instead of adding both overflow-x and overflow-y properties. RELATED TAGS. html....
Read more >Create custom scrollbars using CSS - YouTube
Having a custom scrollbar can help tie the branding of a site together on the page, as well as help ... Create custom...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Part of why a scrollbar would be nice is scrolling in other ways is really sensitive. So, I will skip past the interesting section. Plus, the other reasons scrollbars are nice.
I tried to switch to xterm.js, but it doesn't seem to support terminal colors. All text is displayed in black & white. Also, xterm.js doesn't seem to support scrollbar..
xterm.js does support colors. I just had to add
TERM=xterm-256color
to the ENV.