diff options
author | June McEnroe <june@causal.agency> | 2022-02-18 23:46:06 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-02-18 23:47:11 -0500 |
commit | 1a2477ef7a34cc24c7bc18d7b6326643ce0995a2 (patch) | |
tree | 3b61b975ac5abc34bd6513c23486293c9f93b60f /chat.c | |
parent | Simplify cursor positioning in input (diff) | |
download | catgirl-1a2477ef7a34cc24c7bc18d7b6326643ce0995a2.tar.gz catgirl-1a2477ef7a34cc24c7bc18d7b6326643ce0995a2.zip |
Implement new line editing "library"
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.
Diffstat (limited to '')
-rw-r--r-- | chat.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chat.c b/chat.c index 4898411..454ae31 100644 --- a/chat.c +++ b/chat.c @@ -371,7 +371,6 @@ int main(int argc, char *argv[]) { set(&network.name, host); set(&self.nick, "*"); - editCompleteAdd(); commandCompleteAdd(); ircConfig(insecure, trust, cert, priv); |