| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Just makes things more consistent.
|
| |
|
|
|
|
|
|
|
|
|
| |
The logic for line editing is a little complicated, so it's
best not to duplicate it across all the plugins. Now we
manage it all from the window. The plugins now access the
various editing events via there vtable, but that's an
extra layer of indirection that doesn't matter given that
we pass the window to the plugins anyway. We should drop
that and just have the plugins register for edit events
directly.
|
| |
|
|
|
| |
This prevents each handler from having to run mbrlen on
its own.
|
| |
|
|
|
|
|
|
|
| |
This version works even in raw mode, by buffering key presses
passed from the window object, and replying to the client
after the user presses enter. There are a lot of layers of
function pointers getting passed around, so it may make
sense to introduce an opaque type for holding the password
and triggering the reply.
|
| |
|
|
|
| |
Now we just pass the loop in directly to show and hide,
which makes its lifecycle more clear.
|
| | |
|
| |
|
|
| |
functions
|
| | |
|
| | |
|
| |
|
|
| |
and eventually key events
|
| |
|
|
| |
(Only in text plugin so far)
|
| | |
|
| |
|