diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2020-05-19 08:42:01 +0430 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-20 13:41:37 +0200 |
commit | 7fba21aefce6ce69ea9f44918a156cf3d281591c (patch) | |
tree | 6387724c5d2933a4d52f7aa58572ae7280eec9dd /Userland/mknod.cpp | |
parent | d18f6e82eb95054108114843ef824bf36026c758 (diff) | |
download | serenity-7fba21aefce6ce69ea9f44918a156cf3d281591c.zip |
LibLine: Unify completion hooks and adapt its users
LibLine should ultimately not care about what a "token" means in the
context of its user, so force the user to split the buffer itself.
This also allows the users to pick up contextual clues as well, since
they have to lex the line themselves.
This commit pacthes Shell and the JS repl to better handle completions,
so certain wrong behaviours are now corrected as well:
- JS repl can now complete "Object . getOw<tab>"
- Shell can now complete "echo | ca<tab>" and paths inside strings
Diffstat (limited to 'Userland/mknod.cpp')
0 files changed, 0 insertions, 0 deletions