summary refs log tree commit diff
path: root/ui.c
AgeCommit message (Collapse)Author
2020-02-16Replace a lot of snprintf with a catf implementationC. McEnroe
2020-02-15Replace small integers in size_t with uintC. McEnroe
2020-02-15Separate network info from selfC. McEnroe
2020-02-14Save heat, unreadTotal, unreadWarmC. McEnroe
2020-02-14Track unreadTotal and unreadWarm separatelyC. McEnroe
Otherwise reflow's calculation of unreadLines is always going to be wrong if there were Cold lines interspersed.
2020-02-13Set hidden to true initiallyC. McEnroe
Otherwise uiShow in uiInit does nothing, of course.
2020-02-13Only uiShow if hidden and only uiHide if shownC. McEnroe
2020-02-13Rename procPipe to utilPipeC. McEnroe
2020-02-13Set swap correctly when closing a windowC. McEnroe
I knew I missed something.
2020-02-13Refactor windows into array and add /moveC. McEnroe
Oof.
2020-02-12Add -N flag for notificationsC. McEnroe
2020-02-12Mark and unmark on uiHide, uiShowC. McEnroe
2020-02-12Hide debug prompt if buffer starts with /C. McEnroe
2020-02-12Add C-t transposeC. McEnroe
Also in emacs, weechat.
2020-02-12Add C-v and M-vC. McEnroe
I figure there should be some way to scroll without keypad, and apparently this is what emacs offers...
2020-02-11Support monochromatic terminalsC. McEnroe
Oops, division by zero!
2020-02-11Exit focus and paste modes on err exitC. McEnroe
2020-02-11Call completeClear when closing a windowC. McEnroe
2020-02-11Use time_t for save signatureC. McEnroe
It's actually more likely to be 64-bit than size_t anyway, and it eliminates some helper functions. Also don't error when reading an empty save file.
2020-02-11Set self.nick to * initiallyC. McEnroe
Allows removing a bunch of checks that self.nick is set, and it's what the server usually calls you before registration. Never highlight notices as mentions.
2020-02-11Define ColorCap instead of hardcoding 100C. McEnroe
2020-02-11Cast towupper to wchar_tC. McEnroe
For some reason it takes and returns wint_t...
2020-02-11Cast set but unused variables to voidC. McEnroe
2020-02-11Check if VDSUSP existsC. McEnroe
2020-02-10Invalidate title on uiShowC. McEnroe
2020-02-10Only write out title if it has changedC. McEnroe
2020-02-10Only write out title on uiDrawC. McEnroe
2020-02-10Manually raise SIGINT from C-cC. McEnroe
This allows it to still work, but makes C-z C-c insert the color code rather than exit, and in the future, will allow pasting in text with color codes.
2020-02-10Replace alignment tabs with spaces in bufferListC. McEnroe
2020-02-10Add C-o as alias of M-/C. McEnroe
M-/ is from weechat. C-o is like in vim.
2020-02-10Factor out XDG base directory codeC. McEnroe
And add warnings to configOpen, since that's the only way to be accurate if a weird error occurs.
2020-02-10Leave a blank line after loaded bufferC. McEnroe
2020-02-10Add -s to save and load buffersC. McEnroe
2020-02-10Show heat and other unread in titleC. McEnroe
2020-02-10Improve color fudgingC. McEnroe
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-10Support all 99 IRC colorsC. McEnroe
Corresponding ANSI colors from the table on ircdocs.
2020-02-10Recalculate unreadLines on reflowC. McEnroe
2020-02-10Only make windows hotterC. McEnroe
A warm message shouldn't clear a window's hotness.
2020-02-10Always increase unreadLinesC. McEnroe
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-10Move scroll marker on resizeC. McEnroe
2020-02-10Update line count for words longer than linesC. McEnroe
2020-02-10Simplify mark, heat, unread trackingC. McEnroe
2020-02-10Fix M-a so it properly cycles back to where it startedC. McEnroe
2020-02-09Add M-lC. McEnroe
2020-02-09Remove unnecessary uiDrawC. McEnroe
2020-02-09Add /helpC. McEnroe
Now with automatic search! Also had to fix the SIGCHLD handling...
2020-02-09Add M-uC. McEnroe
2020-02-09Invert the direction of window->scrollC. McEnroe
2020-02-09Add The Scroll BarC. McEnroe
2020-02-09Implement scrolling!C. McEnroe