167 Commits

Author SHA1 Message Date
C. McEnroe
b9a6d35b65 Improve color fudging
Prevent fudged colors from ever being pure black. Distribute fudged
colors between normal and bold if COLORS is 8. Fudge colors before
checking if it's a pre-allocated pair.
2020-02-10 05:33:31 -05:00
C. McEnroe
218bfbac32 Support all 99 IRC colors
Corresponding ANSI colors from the table on ircdocs.
2020-02-10 04:17:07 -05:00
C. McEnroe
8e55c049b5 Avoid coloring mentions if there are control codes
This was breaking leading color codes.
2020-02-10 03:58:25 -05:00
C. McEnroe
2c9ff1717b Recalculate unreadLines on reflow 2020-02-10 03:37:17 -05:00
C. McEnroe
7957ca0ecd Only make windows hotter
A warm message shouldn't clear a window's hotness.
2020-02-10 03:29:38 -05:00
C. McEnroe
7a8024ae3d Always increase unreadLines
So that if you switch to a window and some new activity happens before
you press M-u, it'll still jump to the right place.
2020-02-10 03:10:08 -05:00
C. McEnroe
3c89857652 Move scroll marker on resize 2020-02-10 02:55:21 -05:00
C. McEnroe
b6061a70d7 Update line count for words longer than lines 2020-02-10 02:50:32 -05:00
C. McEnroe
05fc01b248 Simplify mark, heat, unread tracking 2020-02-10 01:59:08 -05:00
C. McEnroe
fabb89077d Update prompt when own nick changes 2020-02-10 01:29:30 -05:00
C. McEnroe
665b6912dc Match URLs surrounded by parentheses
But include a pair of parentheses in the URL itself.
2020-02-10 01:23:19 -05:00
C. McEnroe
f3fa88ef92 Fix M-a so it properly cycles back to where it started 2020-02-10 01:09:03 -05:00
C. McEnroe
7470a705b3 Add M-l 2020-02-09 18:16:01 -05:00
C. McEnroe
3436cd1068 Add /whois 2020-02-09 16:45:49 -05:00
C. McEnroe
2bb3590de9 Add /msg
Services tend to tell you to use /msg so it definitely needs to exist.
2020-02-09 16:19:36 -05:00
C. McEnroe
edd9cb297e Add copy of GPL 2020-02-09 15:25:28 -05:00
C. McEnroe
1d26c880ed Add install target 2020-02-09 15:02:47 -05:00
C. McEnroe
3a5ce4d10f Remove unnecessary uiDraw 2020-02-09 15:02:34 -05:00
C. McEnroe
0dd8ac36f4 Avoid VLAs in tab complete 2020-02-09 14:17:04 -05:00
C. McEnroe
5254e1035c Add /help
Now with automatic search! Also had to fix the SIGCHLD handling...
2020-02-09 14:09:27 -05:00
C. McEnroe
f0e2c089c9 Add M-u 2020-02-09 12:13:51 -05:00
C. McEnroe
347fabc2fe Invert the direction of window->scroll 2020-02-09 11:50:56 -05:00
C. McEnroe
11f2de1a29 Add The Scroll Bar 2020-02-09 09:18:26 -05:00
C. McEnroe
8451543b98 Implement scrolling! 2020-02-09 08:52:17 -05:00
C. McEnroe
8ce6d4c377 Add M-/ 2020-02-09 08:17:05 -05:00
C. McEnroe
16316679a1 Add M-a 2020-02-09 08:14:22 -05:00
C. McEnroe
26eefa35c9 Add C-n and C-p 2020-02-09 07:46:30 -05:00
C. McEnroe
02ca8e972b Use iswspace for word movement 2020-02-09 07:32:35 -05:00
C. McEnroe
2aa2005339 Add C-y
This is weechat's binding for it.
2020-02-09 07:09:56 -05:00
C. McEnroe
cbc6ff2da7 Add general key bindings paragraph to manual 2020-02-09 04:44:46 -05:00
C. McEnroe
5e637324c9 Add C-w and M-d 2020-02-09 04:32:32 -05:00
C. McEnroe
3cd830681e Rename kill ops 2020-02-09 04:22:41 -05:00
C. McEnroe
b08c2d03ef Add M-b and M-f 2020-02-09 04:20:07 -05:00
C. McEnroe
d7c96fc81b Add C-k
Also rename all the edit ops to something consistent.
2020-02-09 03:58:13 -05:00
C. McEnroe
282de9af30 Add C-d 2020-02-09 03:45:44 -05:00
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