issues
search
chromium
/
axiom
Axiom Project
https://chromium.github.io/axiom/web_shell/
Apache License 2.0
53
stars
26
forks
source link
Support for muli-line paste
#109
Open
rpaquay
opened
9 years ago
rpaquay
commented
9 years ago
Send escapes characters of the prompt as escaped characters surrounded with
\[
and
\]
Update readline to skip these characters so that it knows the lenght of the prompt and where to put the cursor.
Fix terminal.js to split input string around "\n" characters
With these changes, the web_shell app should support pasting multiple commands in one paste operations.
Example: [\033[1;36m][\u@\h \W]$[\033[m]
\[
and\]
Example: [\033[1;36m][\u@\h \W]$[\033[m]