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

No way to Enable Horizontal Scrollbar #692

Closed
KiddoV opened this issue Sep 15, 2021 · 1 comment
Closed

No way to Enable Horizontal Scrollbar #692

KiddoV opened this issue Sep 15, 2021 · 1 comment
Labels
Bug resolved if issue is resolved, it will be open until merge with master

Comments

@KiddoV
Copy link
Contributor

KiddoV commented Sep 15, 2021

I have question related to jQuery Terminal

How do I enable horizontal scrollbar ?. I really want all of my outputs to be on 1 line no-wrap for a better view.
I know terminal (console) windows are not suppose to have an horizontal scrollbar, but I really want it.
This scrollbar got hidden on purpose some how. Anyway to enable it?

Thank you!

@jcubic
Copy link
Owner

jcubic commented Sep 15, 2021

I think I've made a mistake in CSS, that needs to be fixed. Right now you need those two things:

  1. There is wrap option just set it to false. You can also set it to false in echo method. The problem is that it doesn't work out of the box (because of CSS).
  2. Use this CSS to disable overflow: hidden on each line:
.terminal .terminal-output div[style*="100%"] {
  overflow: visible;
}

Step 2 is temporary, I just need to make a fix and release new bug fix version.

@jcubic jcubic changed the title Way to Enable Horizontal Scrollbar? No way to Enable Horizontal Scrollbar Sep 15, 2021
@jcubic jcubic added the Bug label Sep 15, 2021
jcubic added a commit that referenced this issue Oct 1, 2021
@jcubic jcubic added the resolved if issue is resolved, it will be open until merge with master label Oct 1, 2021
@jcubic jcubic closed this as completed Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug resolved if issue is resolved, it will be open until merge with master
Projects
None yet
Development

No branches or pull requests

2 participants