about summary refs log tree commit diff
path: root/input.c (unfollow)
Commit message (Collapse)Author
2024-03-21Fix style character handling bug 2.2apara
In some ncurses implementations[1], waddnstr returns ERR when len is 0. This happens in styleAdd() whenever there is a sequence of more than 1 style character in a row. This may result in visual bugs, the most notable of which is being unable to see the messages that mention you (due to the "\26\3" sequence). In order to properly handle multiple style characters in a row, waddnstr should only be called when len is greater than 0. Tested on Alpine Linux, using the official ncurses package. [1]https://invisible-island.net/ncurses
2024-01-29Be specific about which file is at an unexpected endJune McEnroe
Reported-by: d4 <d4@unpx.net>
2023-10-11Document /o as alias of /openJune McEnroe
2023-10-11Remove kiosk modeJune McEnroe
I'm fairly certain I was the only one to ever use it, and I don't anymore.
2023-07-09Move sandman to top-level, add --enable-sandman 2.2June McEnroe
2023-07-07Fix README files listJune McEnroe
2023-07-07Revert "Work-in-progress showing prefixes"June McEnroe
This reverts commit dc132b4350d207d147bb79d997c3f8b511c4ac30.
2023-07-07Work-in-progress showing prefixesJune McEnroe
2023-02-05Fix what went wrong, part 3June McEnroe
2023-02-05Fix what went wrong, part 2June McEnroe
2023-02-05Fix what went wrong, part 1June McEnroe
2023-02-03Flatten cache structsJune McEnroe
2022-09-23Handle missing LIST reply topic parameterJune McEnroe
2022-09-18Make IRC Suite author consistentJune McEnroe
2022-09-11Remove WHO reply handlersJune McEnroe
2022-09-11Generate /ops from cacheJune McEnroe
2022-09-11Set pointer to Entry in CursorJune McEnroe
This feels a little redundant but the API makes sense, I think?
2022-08-17Use tparm, not tiparmJune McEnroe
tiparm is either really new or just doesn't exist everywhere?
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