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

is it possible to disable word wrap #5893

Closed
dickens88 opened this issue Aug 28, 2021 · 1 comment
Closed

is it possible to disable word wrap #5893

dickens88 opened this issue Aug 28, 2021 · 1 comment

Comments

@dickens88
Copy link

dickens88 commented Aug 28, 2021

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
some of the scripts will print a table with command line, and if the terminal can't diable word wrap, it will feel very hard to read the message

image

Describe the solution you'd like

so is there any configrations that can diable word wrap, if the word too lone it can show horizontal scroll bar instead?

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@LabhanshAgrawal
Copy link
Collaborator

We use xterm.js for the rendering, and there's no inbuilt method to disable word wrap in it (xtermjs/xterm.js#2544).
It's not something which I'm inclined to add to hyper directly. It should be doable inside a plugin. It'd need to put the terminal in a scrollable container and resize the terminal based on the length of text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants