Commit Graph

603 Commits (bfa106b9a0475348926ce6002234f22ed5fe1977)

Author SHA1 Message Date
C. McEnroe 09754ed912 Call reset_shell_mode on err
This restores the terminal but doesn't clear the screen, so the error
stays visible.
2020-02-02 02:28:14 -05:00
C. McEnroe c18dc35377 Wrap before the very edge of the screen 2020-02-02 02:04:08 -05:00
C. McEnroe 8ef0af34ef Parse time tag 2020-02-02 01:58:03 -05:00
C. McEnroe c799310d67 Implement wordWidth 2020-02-02 01:54:51 -05:00
C. McEnroe 05256b68fe Implement word wrap
This actually wasn't that bad?
2020-02-01 22:41:30 -05:00
C. McEnroe cd3dc4ef4c Parse IRC styling in UI
Wow the colorPair thing actually works. Have I finally cracked curses
colors?
2020-02-01 21:57:11 -05:00
C. McEnroe d59666cb25 Generate tags file 2020-02-01 21:55:05 -05:00
C. McEnroe e5363bcae0 Implement the beginnings of UI
It takes so much code to do anything in curses...
2020-02-01 19:37:55 -05:00
C. McEnroe e289ff6b18 Add term stuff
Copied almost verbatim from existing catgirl... I think I did a better
job on that state machine this time tbh.
2020-02-01 02:55:07 -05:00
C. McEnroe 03cb0d7c04 Add IDs and names 2020-02-01 02:33:17 -05:00
C. McEnroe 2b3a8bfb9c Add -v flag 2020-02-01 02:26:35 -05:00
C. McEnroe 856d40d121 Fix CapNames array indices 2020-02-01 02:19:55 -05:00
C. McEnroe 8431602363 Blindly implement login flow 2020-02-01 01:18:01 -05:00
C. McEnroe f76145645e Add more login options to the manual page 2020-02-01 01:17:15 -05:00
C. McEnroe 2ce2f493e1 Add simple manual page 2020-01-31 18:11:30 -05:00
Noah Pederson 34ef6ee5a7 Adds insecure flag to skip certificate validation
Usage:

    catgirl -! -h ...
2019-12-28 14:42:28 -05:00
C. McEnroe 2e61779082
Rename catgirl.7 to README.7 2019-12-19 02:13:38 -05:00
C. McEnroe d919d122fb
Update git URL 2019-12-15 19:45:05 -05:00
Curtis McEnroe 2cb82d4cfd
Refresh prompt on 001 with different nick 2019-10-26 19:27:50 -04:00
Curtis McEnroe e7bfdb2376
Add C-u and move underline to C-_ 2019-10-03 14:40:23 -04:00
Curtis McEnroe 5cf4beec7a
Remove -W WEBIRC option 2019-09-16 17:41:18 -04:00
Curtis McEnroe 2a8ee15858
Use /etc/ssl/cert.pem in chroot 2019-09-16 17:24:19 -04:00
Curtis McEnroe 4353b58535
Bump .so versions in chroot 2019-09-16 17:17:58 -04:00
Curtis McEnroe 58a54e3b6b
Set default nick to USER unless -P 2019-09-16 17:09:49 -04:00
Curtis McEnroe c5718dd82f
Add restricted mode 2019-09-16 16:57:50 -04:00
Curtis McEnroe aa3cf0b7d3
Use braces in Makefile 2019-07-27 18:05:06 -04:00
Curtis McEnroe 98b76d1b7e
Make copyright headers consistent 2019-07-27 18:00:01 -04:00
Curtis McEnroe 2571d6ef55
Mark sig_atomic_t array volatile 2019-07-27 00:49:49 -04:00
Curtis McEnroe 3d1f7d8065
Add /list 2019-07-02 22:12:07 -04:00
Curtis McEnroe 6223c9c8f8
Deal with ~users in colorGen 2019-07-02 21:41:52 -04:00
Curtis McEnroe fe38982b43
Clean up input parameter handling 2019-07-02 19:34:19 -04:00
Curtis McEnroe fdbc6f2fda
Split /raw and /quote
/quote is common in other IRC clients.
2019-07-02 18:57:57 -04:00
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