ladybird/Shell
William McPherson 61f2704d58 Shell: Tab completion for paths
If the cursor is in front of a token that is not the first token, we try
to split it on the last slash. If there is a slash, the first part is
the directory to search and the second part is the token to complete.
If there is no slash, we search the current directory and use the entire
token for completion.
If we find a single match and it's a directory, we add a slash. If it's
a normal file, we add a space, unless there already is one.

Also renamed cut_mismatching_chars() parameters to be more appropriate.
2019-12-11 12:10:52 +01:00
..
GlobalState.h Shell: Update termios settings to match line discipline. 2019-10-20 10:51:12 +02:00
LineEditor.cpp Shell: Tab completion for paths 2019-12-11 12:10:52 +01:00
LineEditor.h Shell: Tab completion for paths 2019-12-11 12:10:52 +01:00
main.cpp AK: Use size_t for the length of strings 2019-12-09 17:51:21 +01:00
Makefile Fix "make clean" not deleting app binaries. 2019-05-13 14:56:18 +02:00
Parser.cpp AK: Use size_t for the length of strings 2019-12-09 17:51:21 +01:00
Parser.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00