summary refs log tree commit diff
path: root/ui.c
AgeCommit message (Collapse)Author
2020-05-24Tweak status line formattingC. McEnroe
2020-05-14Fix page scrolling distance for SplitLinesC. McEnroe
2020-04-20Don't clobber windows.swap in else of showAutoC. McEnroe
2020-04-19Save last user-selected window to switch back to from M-aC. McEnroe
2020-04-15Add M-= to mute windowsC. McEnroe
2020-04-15Add status indicator for showing ignored messagesC. McEnroe
2020-04-07Add M-< and M-> for scroll to top and bottomC. McEnroe
Mirrored by S-Home and S-End but I guess I'm not documenting those...
2020-04-07Revert "Add C-o as alias of M-/"C. McEnroe
This reverts commit 3a156540b8d134b05d7c318ac047a0c690cdc950. Decided I don't like having two keys do the same thing (other than "special" keys).
2020-04-07Reset unreadSoft only on first unreadHardC. McEnroe
Also rename unread{,Lines} to be maybe more clear and disambiguate with buffer lines.
2020-04-07Add M-q to collapse whitespaceC. McEnroe
2020-04-06Add scroll position to status lineC. McEnroe
2020-04-06Implement split scrollingC. McEnroe
2020-04-03Use gnu-case-range and gnu-conditional-omitted-operand extensionsC. McEnroe
I'm sad to do this but I just can't stand writing (foo ? foo : bar) anymore.
2020-04-02Do not add an extra blank line on uiLoadC. McEnroe
Adding one for the last unread position now, so this is mostly redundant, I think.
2020-04-02Preserve the last blank line on reflowC. McEnroe
2020-04-02Switch to windows with ascending unread counts on M-aC. McEnroe
2020-03-31Hide filtered messagesC. McEnroe
2020-03-31Save and load buffer line heatC. McEnroe
2020-03-31Store line heat in bufferC. McEnroe
2020-03-30Replace some declaration; while loops with for loopsC. McEnroe
I should have been using this for getopt loops already but the call here is slightly too long to fit on one line as a for loop.
2020-03-30Add text macrosC. McEnroe
2020-03-23Add M-Enter to insert a newlineC. McEnroe
2020-03-23Handle bracketed paste, including newlinesC. McEnroe
2020-02-29Implement the causal.agency/consumer capabilityC. McEnroe
2020-02-19Apply word wrapping to tabs before setting alignC. McEnroe
This fixes long URLs right after the initial \t being wrapped and line counted incorrectly.
2020-02-19Remove bad continues in styleParse loopsC. McEnroe
Since we're sometimes manually doing spaces that need the right styling.
2020-02-19Various small cleanup in ui.cC. McEnroe
2020-02-17Increase buffer size to 1024C. McEnroe
2020-02-17Accept Shift-M-0 through Shift-M-9 as wellC. McEnroe
This mostly just to accommodate my inverted keyboard layout.
2020-02-17Only scroll after reflow if necessaryC. McEnroe
If we've already filled up every line of the window, there is no need to scroll.
2020-02-17Scroll the window only once during reflowC. McEnroe
ncurses implements scrolling as a memmove of the array of lines pointers, which happens each time a line is added to the bottom of the window, causing a scroll. This would get noticeably slow if WindowLines were increased to just 1024. Should've used a ring buffer, I think.
2020-02-16Various small cleanupsC. McEnroe
Haven't really gone through ui.c yet.
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