about summary refs log tree commit diff
path: root/chat.h (unfollow)
Commit message (Collapse)Author
2022-08-06Don't use cached color to route away replyJune McEnroe
Doesn't work when colors are disabled.
2022-08-02Track prefix bitsJune McEnroe
2022-07-31Move cache color to an Entry structJune McEnroe
So that more values can be added sensibly.
2022-07-30Only set cache color if not DefaultJune McEnroe
2022-07-30Rename cache{Prefix,Substr} to cache{Complete,Search}June McEnroe
2022-07-30Switch to cache interfacesJune McEnroe
2022-07-30"Rename" complete to cache, refactor interfacesJune McEnroe
2022-07-30Show STATUSMSG prefixJune McEnroe
2022-07-30Refactor colorMentions to be seprintf-likeJune McEnroe
2022-07-30Update copyrights, authorsJune McEnroe
2022-07-30Remove EditModeJune McEnroe
Pretty sure this isn't going to be how vi mode works if I ever manage to implement it anyway.
2022-07-28Use tiparm on to_status_lineJune McEnroe
According to terminfo(5), tsl takes a single parameter! Never seen it happen, but this is technically more correct, I guess.
2022-06-26Only show old topic if something was removedJune McEnroe
2022-06-24Use two lines to show topic diffsJune McEnroe
2022-05-29Allow setting fallback nicks and highlight on anyJune McEnroe
As a side-effect, even with only one nick set you'll still be highlighted by it even if your current nick is different.
2022-05-29Document visibility of unknown repliesJune McEnroe
2022-05-29Put unknown numerics in parenthesesJune McEnroe
For some reason this makes it look so much better to me.
2022-05-08Route unknown channel replies to channelsJune McEnroe
Also prefix with the numeric. I don't really want to show numerics to the user, but I'm not sure these really make sense without.
2022-05-08Show "You arrive" message only onceJune McEnroe
2022-05-08Write unknown replies to Network with Ice heatJune McEnroe
2022-04-20Sanitize leading dots from log path componentsJune McEnroe
Prevent directory traversal by sanitizing leading dots as well as slashes from log path components, which can be controlled by the server. Side effect of preventing hidden dotfiles is a bonus, I think. Also check that the full path actually fits in the buffer. Reported-by: Samanta Navarro <ferivoz@riseup.net>
2022-03-31Add screenshot to READMEJune McEnroe
2022-03-16Skip non-spacing when moving and deleting by "character"June McEnroe
I uh... don't think I can write tests for this, since macOS's wcwidth is notoriously useless.
2022-03-13Document using -S to connect over IPv4 or IPv6June 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-03-05Update STANDARDS section authors, titles and URLsJune McEnroe
2022-03-02Show own nick on /nick without paramsJune McEnroe
2022-02-26Specify commands which depend on capsJune McEnroe
Currently only /setname.
2022-02-26Only add available commands to completeJune McEnroe
2022-02-26Factor out commandAvailableJune McEnroe
2022-02-23Give examples of "general events" 2.1June McEnroe
2022-02-23Add missing unistd.h include in input.cJune McEnroe
2022-02-22Document the interfaceJune McEnroe
2022-02-20Clean up unimplemented editing mode stuffJune McEnroe
2022-02-20Save input buffer contentsJune McEnroe
2022-02-20Share a cut buffer between all edit buffersJune McEnroe
2022-02-20Assert return values in edit testsJune 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-20Make sure new cap is actually larger than new lengthJune McEnroe
2022-02-20Remove unused mbs.len field from struct EditJune McEnroe
2022-02-19Remove unneeded includes in ui.cJune 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
2022-02-19Factor out window management to window.cJune McEnroe
2022-02-19Enable -Wmissing-prototypesJune McEnroe
In other words, warn when a function is missing static. I don't see why this isn't in -Wextra.