Age | Commit message (Collapse) | Author |
|
This fixes the issue where the editor would only scroll up one command
and then 'search' for it
|
|
This patchset fixes incorrect handling of escaped tokens (`a\ b`) in
Shell autocompletion and LibLine.
The users of LibLine can now choose between two token splitting modes,
either taking into account escapes, or ignoring them.
|
|
This patch makes initialize() transparent to the users, but exposes it
publicly, as the users might need a copy of the default termios (i.e.
Shell)
|
|
It does not make much sense to receive an interrupt and process it
*much later*.
Also patches Userland/js to only create exceptions while some code is
actually running.
|
|
this commit fixes a...surprisingly long-standing ^C bug, where it would
return the buffer instead of voiding it and starting over :^)
|
|
|
|
This commit adds searching in the editor history with ^R.
It does so by instantiating...another Line::Editor inside the current
Line::Editor :^)
|
|
These strings would be applied when inserted into the buffer, but are
not shown as part of the suggestion.
This commit also patches up Userland/js and Shell to use this
functionality
|
|
On the first tab, only complete the token without suggesting extra
stuff, and on further tabs, show suggestions.
Except in one case where the completion is all in the buffer, then
we show the suggestions, but do no completion.
|
|
|
|
This is superceded by the suggest() mechanism
|
|
|
|
With extra color (tm)
This commit also patches the users of LibLine to properly use the new
API
|
|
We have all the information necessary to find our new origin when a
window size change occurs.
|
|
Prior to this, we would display them and never clean then up.
|
|
This commit also adds the ability to change the prompt mid-edit :^)
|
|
This patchset adds an stylization interface to LibLine, and breaks
multiline editing.
With the most adorable Style constructor I've ever seen :^)
|
|
The "on_foo" format is our convention for public callback members.
|
|
|