Commit Graph

494 Commits (e73328a1fc96ffbee52fe9b231b6293439ea1fd6)

Author SHA1 Message Date
C. McEnroe f5783d15c6 Add /part 2020-02-08 01:25:07 -05:00
C. McEnroe fda510b876 Handle ID overflow
idk just shove it all in <network>.
2020-02-08 01:14:41 -05:00
C. McEnroe b5707af4b8 Handle KICK
See I knew the color cache in complete would be useful in at least one
place!
2020-02-08 00:58:17 -05:00
C. McEnroe f14175ebed Handle QUIT 2020-02-08 00:36:23 -05:00
C. McEnroe 7ebfeea330 Handle NAMES reply 2020-02-08 00:25:09 -05:00
C. McEnroe 55173ef297 Add /nick 2020-02-08 00:02:10 -05:00
C. McEnroe 58e1d5b4e2 Handle NICK 2020-02-08 00:01:59 -05:00
C. McEnroe 0705f09310 Only treat the first tab as the alignment point 2020-02-07 23:56:41 -05:00
C. McEnroe 71b0536536 Revert "Only treat the first tab as the alignment point"
This reverts commit 5881a96638.
2020-02-07 23:55:46 -05:00
C. McEnroe 8b7cc1a0ed Clear completion for ID on self-part 2020-02-07 23:44:03 -05:00
C. McEnroe d314523b90 Update completion on join, part, privmsg 2020-02-07 23:33:23 -05:00
C. McEnroe ef9bea6d60 Use atexit instead of err_set_exit
Unsurprisingly, err_set_exit doesn't exist in GNU's err.h, but since
it's safe to call reset_shell_mode on any kind of exit, just use atexit.
2020-02-07 22:25:09 -05:00
C. McEnroe 09579052a9 Update color in completeTouch 2020-02-07 22:05:34 -05:00
C. McEnroe b200194206 Use complete to abbreviate commands 2020-02-07 21:54:18 -05:00
C. McEnroe fe5fd89705 Populate completion with commands 2020-02-07 21:39:56 -05:00
C. McEnroe a26c9ae0bc Use define_key for meta keys
This will allow distinguishing meta from escape via ESCDELAY (which
should probably be set to something quite a lot shorter than its
default).
2020-02-07 20:41:27 -05:00
C. McEnroe 5881a96638 Only treat the first tab as the alignment point 2020-02-07 20:29:32 -05:00
C. McEnroe aed762368d Show one cell to the right of the input cursor 2020-02-07 20:28:22 -05:00
C. McEnroe 4343f35f9c Add key bindings for IRC formatting 2020-02-07 02:46:40 -05:00
C. McEnroe 86ee56ec45 Document key bindings in manual 2020-02-07 02:05:18 -05:00
C. McEnroe af244ad3cd Add some real line editing operations 2020-02-07 01:56:23 -05:00
C. McEnroe 5470254fa5 Add simple configure script
Mostly motivated by wanting to build with the ncurses in pkgsrc because
it supports italics.
2020-02-06 23:50:04 -05:00
C. McEnroe 273207b19f Flush stdout after using putp 2020-02-06 23:11:48 -05:00
C. McEnroe ea7e919a1d Color notices LightGray in input 2020-02-06 23:11:35 -05:00
C. McEnroe 87e42cc627 Color notices LightGray by default 2020-02-06 22:59:49 -05:00
C. McEnroe 9cff026b5a Show input in italics for actions and set Debug prompt 2020-02-06 19:05:51 -05:00
C. McEnroe 34514cf2ee Render actions in italic
Also render italic as normal if it's unsupported, as that is what would
happen anyway if curses has A_ITALIC but the terminal has no sitm. That
format string is kinda bad.
2020-02-06 18:48:49 -05:00
C. McEnroe e1f10958c9 Never consider notices hot 2020-02-06 04:37:28 -05:00
C. McEnroe 68440d50c6 Beep on hot 2020-02-06 04:23:49 -05:00
C. McEnroe e9394bfff9 Set id color to Default on allocation 2020-02-06 04:19:56 -05:00
C. McEnroe 32ec697092 Handle mentions 2020-02-06 04:18:15 -05:00
C. McEnroe 30b3780e57 Route own query messages correctly 2020-02-06 04:01:11 -05:00
C. McEnroe 1e6e533538 Send CAP END if CAP LS doesn't list anything good 2020-02-06 03:44:49 -05:00
C. McEnroe 306e2b5c5b Flesh out trailing manual sections 2020-02-06 02:56:55 -05:00
C. McEnroe a5a162b9c6 Disable SUSP
Frees up C-z and suspending an IRC client is silly anyway.
2020-02-06 02:25:58 -05:00
C. McEnroe 8b3bf897c2 Search for cert and priv in config dirs 2020-02-06 02:21:04 -05:00
C. McEnroe 5e98d83f83 Handle TOPIC and replies 2020-02-06 02:07:39 -05:00
C. McEnroe 5fb492f8cd Handle PART 2020-02-06 01:16:35 -05:00
C. McEnroe 9a585188c5 Add /join command 2020-02-06 01:05:09 -05:00
C. McEnroe db499dc5f5 Send self.join without colon
If someone is weird enough to use channel keys, they can -j '#foo key'.
2020-02-06 01:03:21 -05:00
C. McEnroe 3085779d86 Handle ERROR 2020-02-05 23:27:43 -05:00
C. McEnroe 839cc362a8 Handle errors from getopt 2020-02-05 22:51:45 -05:00
C. McEnroe 27eaddb6b9 Use getopt_config to load options
I'm really getting a lot of use out of this config.c huh.
2020-02-05 22:49:56 -05:00
C. McEnroe 6ca54617ce Add /window name variant 2020-02-05 22:25:34 -05:00
C. McEnroe f4868fc906 Document commands in manual 2020-02-05 22:22:52 -05:00
C. McEnroe 63b92672fe Handle empty params in /quote 2020-02-05 22:18:11 -05:00
C. McEnroe 7cc64927bd Handle empty messages on privmsg, notice, action 2020-02-05 22:15:08 -05:00
C. McEnroe b2cf873304 Add /window 2020-02-05 22:09:29 -05:00
C. McEnroe 7c0e9cf3d2 Add /quit 2020-02-05 21:57:23 -05:00
C. McEnroe 7c0b60221b Add /me, /notice, /quote commands 2020-02-05 19:19:01 -05:00