summary refs log tree commit diff
path: root/input.c
AgeCommit message (Collapse)Author
2023-01-22disabled quitting with Ctrl + C, makes it harder to do by mistakebx
2022-07-30Rename cache{Prefix,Substr} to cache{Complete,Search}June McEnroe
2022-07-30Switch to cache interfacesJune McEnroe
2022-03-09Always refresh the screen with ^LChristian Kellermann
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.
2022-02-23Add missing unistd.h include in input.cJune McEnroe
2022-02-20Save input buffer contentsJune McEnroe
2022-02-20Share a cut buffer between all edit buffersJune McEnroe
2022-02-20Move mbs out of struct Edit, use a global bufferJune McEnroe
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.
2022-02-20Clear edit buffer before running commandJune McEnroe
Otherwise a command that switches windows will update the status line while the edit buffer still has input "pending", showing an indicator.
2022-02-20Show indicator in status when window has pending inputJune McEnroe
2022-02-20Use separate edit buffers for each IDJune McEnroe
2022-02-19Reimplement tab completeJune McEnroe
2022-02-19Handle errors from editFn, etc.June McEnroe
2022-02-19Reimplement text macrosJune McEnroe
2022-02-19Factor out input handling to input.cJune McEnroe
2020-02-11Remove legacy codeC. McEnroe
2019-09-16Add restricted modeCurtis McEnroe
2019-07-02Add /listCurtis McEnroe
2019-07-02Clean up input parameter handlingCurtis McEnroe
2019-07-02Split /raw and /quoteCurtis McEnroe
/quote is common in other IRC clients.
2019-07-02Add optional key to /joinCurtis McEnroe
2019-02-27Add /move commandCurtis McEnroe
2019-02-25Move nick and tag coloring to color.cCurtis McEnroe
2019-02-25Add color to tagsCurtis McEnroe
2019-02-23Use first word of params in input commandsCurtis McEnroe
Prevents anything weird from happening when tab-completing, which inserts a space.
2019-02-23Add C-n and C-p key bindings to switch windowsCurtis McEnroe
2019-02-22Add /znc commandCurtis McEnroe
Only because ZNC tells you to use it and expects it to work.
2019-02-22Reorganize input.cCurtis McEnroe
2019-02-22Reorganize UI code for the umpteenth timeCurtis McEnroe
It's actually in a good state now, I think.
2019-02-21Replace "view" with "window"Curtis McEnroe
I think originally I didn't want to use the same word as curses WINDOW but it's really much clearer for the user if they're just called windows. UI code probably needs yet another rewrite though. Still feels messy.
2018-12-30Typedef function types, not pointersCurtis McEnroe
2018-12-14Factor out ircQuitCurtis McEnroe
2018-12-05Add /raw commandCurtis McEnroe
2018-12-05Send input errors to the current tagCurtis McEnroe
2018-12-05Rename verbose to rawCurtis McEnroe
And change the format of the sticky tag names again.
2018-12-04Show error if disconnected unintentionallyCurtis McEnroe
2018-12-04Revert half-working reconnecting stuffCurtis McEnroe
2018-12-01Crudely handle reconnecting after suspendCurtis McEnroe
2018-11-29Add basic log replayCurtis McEnroe
2018-11-29Add /whoisCurtis McEnroe
2018-11-27Rename project catgirlCurtis McEnroe
This simplifies things.
2018-10-28Use const char *argv[] signaturesCurtis McEnroe
C is really weird about this stuff, but this makes more sense to me.
2018-09-13Never send PRIVMSG to TagStatus or TagVerboseCurtis McEnroe
2018-09-11Add /help equivalent to /manCurtis McEnroe
2018-09-11Add urlOpenMatchCurtis McEnroe
2018-09-10Add /man commandCurtis McEnroe
2018-09-02Use PascalCase for constantsCurtis McEnroe
Begone underscores.
2018-08-18Accept unique prefixes of commandsCurtis McEnroe
2018-08-18Fix /query error handlingCurtis McEnroe
Evidence this should be factored somehow else so the extra check is unnecessary.
2018-08-18Alias /n to /view n where n is a numberCurtis McEnroe