Skip to content
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

Horizontal scrolling #2544

Closed
graue opened this issue Nov 5, 2019 · 2 comments
Closed

Horizontal scrolling #2544

graue opened this issue Nov 5, 2019 · 2 comments
Labels
type/question A question on how to use the library

Comments

@graue
Copy link

graue commented Nov 5, 2019

We'd like to be able to scroll a terminal horizontally. It looks like this might be possible by generalizing somewhat the code that was added in #218. This has come up in the context of an accessibility concern where a user uses large fonts due to vision impairment.

@Tyriar
Copy link
Member

Tyriar commented Nov 6, 2019

If you want to add a horizontal scroll bar it's possible right now by just sticking the terminal insider a container that is scrollable. We won't be building something like this natively though as it's such a niche scenario and imo should live within an the embedding application.

@Tyriar Tyriar closed this as completed Nov 6, 2019
@Tyriar Tyriar added the type/question A question on how to use the library label Nov 6, 2019
@MatthiasGrandl
Copy link

I was trying to implement a log viewer with xterm.js and wanted to add the option to toggle line-wrapping. Rendering the xterm.js over the width of the longest log line (about 10k pixels) absolutely kills performance, so this is sadly not an option.

I understand however that this is outside the scope of xterm.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question A question on how to use the library
Projects
None yet
Development

No branches or pull requests

3 participants