Commit Graph

805 Commits (89a2fac05ad5cef1842f6d8cee8351ffd17c7095)

Author SHA1 Message Date
Curtis McEnroe c06a457461
Add C-n and C-p key bindings to switch windows 2019-02-23 12:24:39 -05:00
Curtis McEnroe 740cb9f687
Change example command to join #ascii.town on freenode 2019-02-23 11:46:32 -05:00
Curtis McEnroe 55866686a8
Call def_prog_mode after termNoFlow
So that the settings get restored after /url or /man.
2019-02-23 11:42:42 -05:00
Curtis McEnroe c168e54f06
Move IRC formatting reset to C-s
Opens C-n for window switching.
2019-02-22 23:56:55 -05:00
Curtis McEnroe facc3aa9a0
Disable terminal flow control
This opens up C-o, C-q and C-s for key bindings without C-v.
2019-02-22 23:31:33 -05:00
Curtis McEnroe 200842aa64
Bind up and down arrows to scroll
Honestly it's kind of weird that IRC clients usually use these for input
history.
2019-02-22 22:22:16 -05:00
Curtis McEnroe 2faa73abd6
Remove topic TODO
I played around with it and it doesn't look right unless there is only
one channel listed in the status.
2019-02-22 17:44:39 -05:00
Curtis McEnroe 8bdd1578c7
Add /znc command
Only because ZNC tells you to use it and expects it to work.
2019-02-22 16:07:32 -05:00
Curtis McEnroe 274a5f7d6e
Update status line after scrolling and term events 2019-02-22 15:54:59 -05:00
Curtis McEnroe 2c07d50415
Reorganize input.c 2019-02-22 15:49:55 -05:00
Curtis McEnroe aacee60ce6
Fix name of <raw> window in man page 2019-02-22 15:13:58 -05:00
Curtis McEnroe c2317921f8
Rename global tags with angle brackets 2019-02-22 14:32:00 -05:00
Curtis McEnroe e7926629ed
Show status window while connecting 2019-02-22 14:19:20 -05:00
Curtis McEnroe e20c64d5d7
Reorganize UI code for the umpteenth time
It's actually in a good state now, I think.
2019-02-22 14:11:50 -05:00
Curtis McEnroe f3db938ded
Replace "view" with "window"
I think originally I didn't want to use the same word as curses WINDOW
but it's really much clearer for the user if they're just called
windows. UI code probably needs yet another rewrite though. Still feels
messy.
2019-02-21 23:17:40 -05:00
Curtis McEnroe c0c59d093f
Remove ROT13
It's just not convenient when it can only do the whole line...
2019-02-21 23:17:40 -05:00
Curtis McEnroe 1d6fb01074
Clean up man page 2019-02-21 23:17:39 -05:00
Curtis McEnroe 0a417e28e2
Draw UI before connecting
Otherwise the "Traveling" message isn't visible while connecting.
2019-01-26 02:50:59 -05:00
Curtis McEnroe cc30e13e9f
Avoid unused variable warnings with getyx 2019-01-25 04:19:07 -05:00
Curtis McEnroe 920ea899d7
Add GNU/Linux build instructions 2019-01-25 04:06:31 -05:00
Curtis McEnroe 1e9b5139f0
Add Linux.mk 2019-01-25 03:49:38 -05:00
Curtis McEnroe c4c4de6923
Use getline in place of fgetln 2019-01-25 03:17:02 -05:00
Curtis McEnroe 5fcd801783
Use memmem in place of strnstr 2019-01-25 02:27:38 -05:00
Curtis McEnroe a7f3ff3172
Remove FreeBSD-specific iswascii call 2019-01-24 22:37:11 -05:00
Curtis McEnroe 696fc3bcb9
Make all tar flags consistent 2019-01-24 20:46:33 -05:00
Curtis McEnroe e95a6b776e
Tweak Makefile ordering and naming 2019-01-24 20:42:27 -05:00
Curtis McEnroe 59390d2881
Update chroot files for LibreSSL 2.8.3 2019-01-17 21:29:54 -05:00
Curtis McEnroe e8063c35ec
Typedef function types, not pointers 2018-12-30 01:53:30 -05:00
Curtis McEnroe 0b3d927e03
Add M-? to apply ROT13 2018-12-16 17:19:06 -05:00
Curtis McEnroe ef916ddaff
Move base64 back to pls.c 2018-12-16 16:57:43 -05:00
Curtis McEnroe 38b4a53d57
Move base64 to string.c 2018-12-16 16:21:58 -05:00
Curtis McEnroe a2a6ce99c0
Underline own nick 2018-12-15 01:09:56 -05:00
Curtis McEnroe a7681579fa
Treat EOF as expected if self.quit
znc doesn't seem to respond to QUIT with ERROR like an IRCd would.
2018-12-14 16:48:16 -05:00
Curtis McEnroe e84c36a0bd
Factor out ircQuit 2018-12-14 16:43:49 -05:00
Curtis McEnroe 14c60a15bc
Add uint typedef 2018-12-08 13:18:13 -05:00
Curtis McEnroe 9d7e0726c2
Add /raw command 2018-12-05 15:04:34 -05:00
Curtis McEnroe 0d165fadfa
Send input errors to the current tag 2018-12-05 14:53:16 -05:00
Curtis McEnroe 2797ac8abf
Rename verbose to raw
And change the format of the sticky tag names again.
2018-12-05 14:46:34 -05:00
Curtis McEnroe a23f587be8
Add standards needed for SASL to catgirl.1 2018-12-05 13:06:34 -05:00
Curtis McEnroe 776ce58648
Implement SASL PLAIN authentication 2018-12-04 22:13:44 -05:00
Curtis McEnroe 638be4e775
Show error if disconnected unintentionally 2018-12-04 15:56:10 -05:00
Curtis McEnroe b1427dd169
Send only SIGHUP in sandman 2018-12-04 15:38:22 -05:00
Curtis McEnroe e01b03c963
Revert half-working reconnecting stuff 2018-12-04 14:58:14 -05:00
Curtis McEnroe 9106bd61fa
Add -a auth option for unimplemented SASL 2018-12-04 10:39:38 -05:00
Curtis McEnroe a8c30b898c
Implement base64 encoding
Will be used for SASL authentication.
2018-12-03 23:05:01 -05:00
Curtis McEnroe 7ea54828a6
Call uiShow at init so that TermFocus gets set 2018-12-03 15:52:04 -05:00
Curtis McEnroe 7dab1c01f6
Check nick to determine if is self
I forgot that usernames aren't unique for a minute there.
2018-12-03 10:33:04 -05:00
Curtis McEnroe 26db6e6c10
Ignore ~ username prefixes
This simplifies a lot.
2018-12-03 00:08:24 -05:00
Curtis McEnroe 452aeb5ecf
Move host, port, pass, webp to self 2018-12-02 23:22:18 -05:00
Curtis McEnroe 0e1297e068
Add -r option for realname 2018-12-02 23:08:49 -05:00