Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix r on empty buffer | June McEnroe | 2022-03-12 |
| | |||
* | Implement $, 0, A, I, a | June McEnroe | 2022-03-12 |
| | |||
* | Use a bool for vi.mode | June McEnroe | 2022-03-12 |
| | | | | | enums use 4 bytes even if they only have 2 values and we have 256 of these structs... | ||
* | Implement r with count | June McEnroe | 2022-03-12 |
| | |||
* | Implement vi R and r | June McEnroe | 2022-03-12 |
| | |||
* | Treat C-v as an emacs key | June McEnroe | 2022-03-12 |
| | | | | Since ^V is a specified part of vi mode line editing. | ||
* | Implement vi insert mode | June McEnroe | 2022-03-12 |
| | |||
* | Lower ESCDELAY in vi mode | June McEnroe | 2022-03-12 |
| | |||
* | Call editVi from input.c | June McEnroe | 2022-03-12 |
| | |||
* | Add edit option to set line editing mode | June McEnroe | 2022-03-12 |
| | | | | | | I'm not super happy with the guessing based on .editrc or .inputrc because I'm not parsing the files for real, but it's a conservative guess and should do the right thing in most cases. | ||
* | Reset to vi insert mode on enter | June McEnroe | 2022-03-12 |
| | |||
* | Implement basic esc/i mode switching | June McEnroe | 2022-03-12 |
| | |||
* | Separate emacs key bindings | June McEnroe | 2022-03-12 |
| | |||
* | Always refresh the screen with ^L | Christian Kellermann | 2022-03-09 |
| | | | | | | | | | | | This patch adds an explicit wrefresh call. Under some conditions just flagging the window for redraw does not trigger a redraw and the user has no other means to force redrawing of a window. Without this patch resizing the window would sometimes result in an empty chat window with no way to redraw it. Tested under uxterm and st on OpenBSD. | ||
* | Update STANDARDS section authors, titles and URLs | June McEnroe | 2022-03-05 |
| | |||
* | Show own nick on /nick without params | June McEnroe | 2022-03-02 |
| | |||
* | Specify commands which depend on caps | June McEnroe | 2022-02-26 |
| | | | | Currently only /setname. | ||
* | Only add available commands to complete | June McEnroe | 2022-02-26 |
| | |||
* | Factor out commandAvailable | June McEnroe | 2022-02-26 |
| | |||
* | Give examples of "general events" 2.1 | June McEnroe | 2022-02-23 |
| | |||
* | Add missing unistd.h include in input.c | June McEnroe | 2022-02-23 |
| | |||
* | Document the interface | June McEnroe | 2022-02-22 |
| | |||
* | 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 |
| | | | | | | | | This saves 4K in the edit buffers, not to mention all the heap allocations for the separate mbs buffers! There might be a way to be more clever about capacities, but I don't think it's worth it. | ||
* | Clear edit buffer before running command | June McEnroe | 2022-02-20 |
| | | | | | | Otherwise a command that switches windows will update the status line while the edit buffer still has input "pending", showing an indicator. | ||
* | 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-20 |
| | |||
* | 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 |
| | | | | | In other words, warn when a function is missing static. I don't see why this isn't in -Wextra. | ||
* | Fix edit.[ch] license notice additional permissions | June McEnroe | 2022-02-19 |
| | |||
* | Run line editing tests | June McEnroe | 2022-02-19 |
| | | | | I know, it feels wrong. | ||
* | Implement new line editing "library" | June McEnroe | 2022-02-18 |
| | | | | | | | | | | | | | | 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. | ||
* | Simplify cursor positioning in input | June McEnroe | 2022-02-18 |
| | | | | | | | | 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. | ||
* | Fix M-f ordering | June McEnroe | 2022-02-18 |
| | |||
* | 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 | 2022-02-12 |
| | | | | | We don't use any flags, so just define them in the compat source file. | ||
* | Import compat_readpassphrase.c from oconfigure | June McEnroe | 2022-02-12 |
| | | | | At 5d08070de6aadd979e3752263d2ec1e709bf037e. | ||
* | Prompt for empty server or SASL passwords | June McEnroe | 2022-02-12 |
| | |||
* | Treat any amount of space and punctuation as word boundaries | June McEnroe | 2022-02-09 |
| | | | | This matches behaviour of, e.g. zsh -o emacs. |