react-console-emulator
react-console-emulator copied to clipboard
Wrap input instead instead of horizontal scrolling
Thanks for the great library!
In most terminals, if you type a line longer than the width of the window, it wraps the text
In react-console-emulator, it would scroll instead.
HTML input
can't wrap the text, a textarea
is probably required for this.
Is there an easy solution for this ?
Thanks
I think this is something that depends on what terminal interface you're using, so it's not universal behaviour. It may also be desirable to wrap in some contexts, but not in others. It wouldn't be hard to add a setting to toggle between the two behaviours, I'll look into doing that.