| Commit message (Collapse) | Author |
|
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
|
2022-02-23 | Add missing unistd.h include in input.c | June McEnroe |
2022-02-22 | Document the interface | June McEnroe |
2022-02-20 | Clean up unimplemented editing mode stuff | June McEnroe |
2022-02-20 | Save input buffer contents | June McEnroe |
2022-02-20 | Share a cut buffer between all edit buffers | June McEnroe |
2022-02-20 | Assert return values in edit tests | June McEnroe |
2022-02-20 | Move mbs out of struct Edit, use a global buffer | June McEnroe |
2022-02-20 | Clear edit buffer before running command | June McEnroe |
2022-02-20 | Show indicator in status when window has pending input | June McEnroe |
2022-02-20 | Use separate edit buffers for each ID | June McEnroe |
2022-02-20 | Make sure new cap is actually larger than new length | June McEnroe |
2022-02-20 | Remove unused mbs.len field from struct Edit | June McEnroe |
2022-02-19 | Remove unneeded includes in ui.c | June McEnroe |
2022-02-19 | Reimplement tab complete | June McEnroe |
2022-02-19 | Handle errors from editFn, etc. | June McEnroe |
2022-02-19 | Reimplement text macros | June McEnroe |
2022-02-19 | Factor out input handling to input.c | June McEnroe |
2022-02-19 | Factor out window management to window.c | June McEnroe |
2022-02-19 | Enable -Wmissing-prototypes | June McEnroe |
2022-02-19 | Fix edit.[ch] license notice additional permissions | June McEnroe |
2022-02-19 | Run line editing tests | June McEnroe |
2022-02-18 | Implement new line editing "library" | June McEnroe |
2022-02-18 | Simplify cursor positioning in input | June McEnroe |
2022-02-18 | Fix M-f ordering | June McEnroe |
2022-02-12 | Move sandman build to scripts/Makefile | June McEnroe |
2022-02-12 | Use compat_readpassphrase.c on Linux | June McEnroe |
2022-02-12 | Copy RPP defines from oconfigure | June McEnroe=073cebec7a5a07ab2b829e40ce47ec3b1d774bd9&follow=1'>Factor out input handling to input.c | June McEnroe |
|
|
|
|
|
In other words, warn when a function is missing static. I don't see
why this isn't in -Wextra.
|
|
|
|
I know, it feels wrong.
|
|
Losing tab complete and text macros, for now.
This new implementation works on an instance of a struct and does
not interact with the rest of catgirl, making it possible to copy
into another project. Unlike existing line editing libraries, this
one is entirely abstract and can be rendered externally.
My goal with this library is to be able to implement vi mode. Since
it operates on struct instances rather than globals, it might also
be possible to give catgirl separate line editing buffers for each
window, which would be a nice UX improvement.
|
|
Do some extra work by adding the portion before the cursor to the
input window twice, but simplify the interaction with the split
point. This fixes the awkward behaviour when moving the cursor
across colour codes where the code would be partially interpreted
up to the cursor.
|
|
|
|
|
|
|