Go to file
Curtis McEnroe a281f89592
Rework UI code for multi-channel
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.
2018-08-11 20:02:03 -04:00
.gitignore Split source into several files 2018-08-04 13:35:29 -04:00
LICENSE Add LICENSE file 2018-08-02 20:55:21 -04:00
Makefile Add term.c for extra terminal features 2018-08-11 15:49:39 -04:00
README Add term.c for extra terminal features 2018-08-11 15:49:39 -04:00
chat.c Rework UI code for multi-channel 2018-08-11 20:02:03 -04:00
chat.h Rework UI code for multi-channel 2018-08-11 20:02:03 -04:00
edit.c Become multi-channel 2018-08-10 23:31:20 -04:00
handle.c Rework UI code for multi-channel 2018-08-11 20:02:03 -04:00
input.c Rework UI code for multi-channel 2018-08-11 20:02:03 -04:00
irc.c Rework UI code for multi-channel 2018-08-11 20:02:03 -04:00
pls.c Factor out line editing to edit.c 2018-08-08 16:59:26 -04:00
tab.c Rework UI code for multi-channel 2018-08-11 20:02:03 -04:00
tag.c Rework UI code for multi-channel 2018-08-11 20:02:03 -04:00
term.c Add term.c for extra terminal features 2018-08-11 15:49:39 -04:00
ui.c Rework UI code for multi-channel 2018-08-11 20:02:03 -04:00
url.c Become multi-channel 2018-08-10 23:31:20 -04:00

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