Commit Graph

271 Commits (906440968e658629a3722ebc8d8405cbbb7b4d1d)

Author SHA1 Message Date
Curtis McEnroe 906440968e
Add -k option for joining with keys 2019-07-02 18:40:06 -04:00
Curtis McEnroe 426be32b1d
Add optional key to /join 2019-07-02 18:33:45 -04:00
Curtis McEnroe 39a752c46e
Restart process in sandman 2019-07-02 18:04:27 -04:00
Curtis McEnroe d8cffb8ae7
Add /move command 2019-02-27 00:17:59 -05:00
Curtis McEnroe adc6d3bdd2
Add M-/ to switch to previously active window
This is also a weechat binding.
2019-02-26 23:13:55 -05:00
Curtis McEnroe 4cda410b57
Move nick and tag coloring to color.c 2019-02-25 23:10:40 -05:00
Curtis McEnroe b2f6082dff
Add M-l to list the log 2019-02-25 21:48:05 -05:00
Curtis McEnroe 2a6e3f2d02
Output raw to standard error if it is not a terminal 2019-02-25 17:00:28 -05:00
Curtis McEnroe d85c1c3f96
Update tag colors
This kind of incurs a lot of writes usually for no reason. The only
place this matters is when cold-opening a /query. I wonder if there's a
better way to do that.
2019-02-25 16:12:41 -05:00
Curtis McEnroe 6b97c59756
Add color to tags 2019-02-25 16:02:41 -05:00
Curtis McEnroe 238f74efac
Remove tag X macros again 2019-02-25 14:29:06 -05:00
Curtis McEnroe 23ec3fd1b7
Add M-a to switch to hot or unread window 2019-02-25 14:09:06 -05:00
Curtis McEnroe 9d6f9d76c3
Refactor uiRead
Centralizes the branching.
2019-02-25 12:51:21 -05:00
Curtis McEnroe e8f40a2daf
Scroll by full pages with PageUp/PageDown 2019-02-24 18:20:39 -05:00
Curtis McEnroe 31a2af0c65
Clarify /window documentation 2019-02-23 13:27:28 -05:00
Curtis McEnroe 35705c9eeb
Use first word of params in input commands
Prevents anything weird from happening when tab-completing, which
inserts a space.
2019-02-23 12:44:20 -05:00
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