C. McEnroe
e6e2021d48
Add C-b and C-f
2020-02-09 03:41:46 -05:00
C. McEnroe
40e362f505
Hook up tab-complete
2020-02-09 02:33:53 -05:00
C. McEnroe
82cf445858
Add self.nick to completion in Network, not None
2020-02-09 02:16:17 -05:00
C. McEnroe
2d62ea9e30
Simplify edit buffer conversion and input rendering
2020-02-09 01:28:24 -05:00
C. McEnroe
a212a7ae2c
Show realname on JOIN if it is different from nick
2020-02-09 00:55:41 -05:00
C. McEnroe
e0714a9b7e
Switch to "other" window if closing active window
2020-02-09 00:39:09 -05:00
C. McEnroe
b30b93f672
Use fmemopen to build colored mentions string
2020-02-08 23:29:32 -05:00
C. McEnroe
ec73174c4c
Use unexpected NAMES replies to populate complete
2020-02-08 22:55:11 -05:00
C. McEnroe
9cbec9ca7e
Color mentions
...
Sort of like Textual does, but only in the first part of the messaage,
either before a colon or before a space. Hopefully this makes it less
costly than it would be, and prevents false positives on people with
common nouns for nicks.
2020-02-08 22:51:13 -05:00
C. McEnroe
af14947103
Trim whitespace from both ends of command params
2020-02-08 21:50:29 -05:00
C. McEnroe
3e68684148
Add /copy
2020-02-08 21:44:50 -05:00
C. McEnroe
2db17e83a9
Allow overriding the /open utility
2020-02-08 21:21:21 -05:00
C. McEnroe
362d779b61
Set FDs CLOEXEC
2020-02-08 19:12:05 -05:00
C. McEnroe
9b9794df33
Implement URL opening
2020-02-08 19:04:25 -05:00
C. McEnroe
f502260dd0
Scan messages for URLs
2020-02-08 18:29:01 -05:00
C. McEnroe
156282c95d
Add procPipe for subprocesses
2020-02-08 17:42:19 -05:00
C. McEnroe
8128edc7eb
Handle SIGCHLD
2020-02-08 17:22:51 -05:00
C. McEnroe
72d8749454
Check signals after file descriptors
...
If a signal happens while processing an FD, it should be handled
immediately, rather than waiting for another poll return.
2020-02-08 17:04:25 -05:00
C. McEnroe
29bd788660
Simplify(?) reflow buffer loop
2020-02-08 16:56:49 -05:00
C. McEnroe
b98c7d6863
Add /topic
2020-02-08 03:25:50 -05:00
C. McEnroe
ff6424a87c
Add /names
2020-02-08 03:19:56 -05:00
C. McEnroe
b6bf6d62b0
Only show expected topic/names replies
2020-02-08 03:15:17 -05:00
C. McEnroe
2cacf15314
Add /debug
2020-02-08 02:33:41 -05:00
C. McEnroe
943502ea82
Add /close
2020-02-08 02:26:00 -05:00
C. McEnroe
55e721da42
Check return values of newwin/newpad
2020-02-08 02:13:02 -05:00
C. McEnroe
5c10fe0d41
Add /query
2020-02-08 01:34:55 -05:00
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