-
Notifications
You must be signed in to change notification settings - Fork 62
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
Dual Input & Output terminals #829
Comments
Hi,
|
Thanks for your comments Linus! |
You mean auto-scroll when a new line is pushed to the terminal? Because automatic scrolling is already implemented for when a command is entered by the user (in order to accurately mimic a real-world terminal). |
Yes, I actually found out that you have a |
Hi,
This terminal is great.
I'm using a combination of two terminals one is in locked mode, sized for a single line and used as input, while the other one is read only and used as an output.
Something on the line of this (copied from vscode terminal):
And using react-console-emulator:
The single line height with lock enabled for the input terminal, sort of works, with the caveat that the scrollbar will appear after the first command (as seen in the screenshot above), and the prompt will shift up a bit.
I often used pushToStdOut for the output terminal when a command is invoked from the input terminal. It would be great if this function allowed to control the color of the content that is being pushed, so I can color the command echo and the result differently.
Also, it would be great if there was a catch all command, which could be used to display an invalid command message to the output terminal.
The text was updated successfully, but these errors were encountered: