You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the VenusTerminal is very simple. We are using the vscode Pseudoterminal, which itself builds upon xterm.js.
The vscode Pseudoterminal has no functionality built in, except forwarding inputs. All evaluation ,navigation and so on is expected to be handled by either a real shell or cli, or a custom backend.
Writing a custom backend is more complicated then it sounds. There is a existing backend here , which includes the most basic functions like:
Arrow navigation: Use left and right arrows to navigate in your input
vWord-boundary navigation: Use alt+left and alt+right to jump between words
Word-boundary deletion: Use alt+backspace to delete a word
Multi-line continuation: Break command to multiple lines if they contain incomplete quotation marks, boolean operators (&&
or ||), pipe operator (|), or new-line escape sequence ().
Full-navigation on multi-line command: You are not limited only on the line you are editing, you can navigate and edit all of your lines.
Local History: Just like bash, access the commands you previously typed using the up and down arrows.
Tab-Completion: Provides support for registering your own tab-completion callbacks.
There is also the possibility of using the already existing terminal backend here, here and here.
For all options modifications seem necessary.
The text was updated successfully, but these errors were encountered:
Right now the VenusTerminal is very simple. We are using the vscode Pseudoterminal, which itself builds upon xterm.js.
The vscode Pseudoterminal has no functionality built in, except forwarding inputs. All evaluation ,navigation and so on is expected to be handled by either a real shell or cli, or a custom backend.
Writing a custom backend is more complicated then it sounds. There is a existing backend here , which includes the most basic functions like:
or ||), pipe operator (|), or new-line escape sequence ().
There is also the possibility of using the already existing terminal backend here, here and here.
For all options modifications seem necessary.
The text was updated successfully, but these errors were encountered: