kinda fork of catgirl irc client with bx's personal tweeks, original client: https://git.causal.agency/catgirl/
a281f89592
Tags are now permanently assigned (and I'm betting on never needing more than 256 of them) and the UI maps tags to a linked list of views for easy reordering and removal. Currently, views can only be added. Views don't have a topic window until they need one. All UI code wants to be functional reactive. Beeping is temporarily removed until message priorities (status, message, ping) can be added to the UI. At that point spawning notify-send should also be possible. Priorities will also help with unnecessary markers, which will not appear for status messages. The tab system is now used to send QUIT and NICK messages to all the relevant tags. Verbose output now goes to its own tag, and sending to it sends raw IRC. IRC colors are now listed in chat.h and handler functions for numeric replies have real names. The color algorithm now uses a real hash function for hopefully better results. QUIT, PART and KICK messages are scanned for URLs. |
||
---|---|---|
.gitignore | ||
LICENSE | ||
Makefile | ||
README | ||
chat.c | ||
chat.h | ||
edit.c | ||
handle.c | ||
input.c | ||
irc.c | ||
pls.c | ||
tab.c | ||
tag.c | ||
term.c | ||
ui.c | ||
url.c |
README
Simple IRC client for use over anonymous SSH. This software requires LibreSSL and targets FreeBSD and Darwin. chat.h Shared state and function prototypes chat.c Command line parsing and event loop tag.c Tag (channel, query) management handle.c Incoming command handling input.c Input command handling irc.c TLS client connection ui.c Curses UI and mIRC formatting term.c Terminal features unsupported by curses edit.c Line editing tab.c Tab-complete url.c URL detection pls.c Functions which should not have to be written