mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
A space is added if only one match is found, but we avoid adding redundant spaces. We complete "empty" tokens, i.e. when the cursor is at the start of the line or in front of a space. For example: mkdir test cd test touch test chmod +x test export PATH=/home/anon/test Now if you press tab, or space and then tab, you will get "test". Notice that you also get a space. Completion is now done relative to the cursor. You can enter two words and then go back and complete the first one. |
||
---|---|---|
.. | ||
GlobalState.h | ||
LineEditor.cpp | ||
LineEditor.h | ||
main.cpp | ||
Makefile | ||
Parser.cpp | ||
Parser.h |