about summary refs log tree commit diff
path: root/ui.c (follow)
Commit message (Collapse)AuthorAge
* Initialize numHot, numWarmJune McEnroe2020-07-23
| | | | | For some reason gcc thinks that numWarm might be used uninitialized. It's fine with numHot though, strangely.
* Keep scrolled up windows in status lineJune McEnroe2020-07-12
|
* Call static_assert by _Static_assertJune McEnroe2020-06-11
| | | | | OpenBSD assert.h does not #define static_assert, and this is the only thing that prevents catgirl from compiling without any issues there.
* Add additional permission for linking with LibreSSLJune McEnroe2020-06-08
| | | | https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs
* Don't send zero-width characters to ncursesJune McEnroe2020-05-26
|
* Define constants for window geometryJune McEnroe2020-05-25
| | | | | Also fixes uiDraw so that the split lines and marker don't overlap the main window, although that wasn't causing any real problems.
* Tweak status line formattingJune McEnroe2020-05-24
|
* Fix page scrolling distance for SplitLinesJune McEnroe2020-05-14
|
* Don't clobber windows.swap in else of showAutoJune McEnroe2020-04-20
|
* Save last user-selected window to switch back to from M-aJune McEnroe2020-04-19
|
* Add M-= to mute windowsJune McEnroe2020-04-15
|
* Add status indicator for showing ignored messagesJune McEnroe2020-04-15
|
* Add M-< and M-> for scroll to top and bottomJune McEnroe2020-04-07
| | | | Mirrored by S-Home and S-End but I guess I'm not documenting those...
* Revert "Add C-o as alias of M-/"June McEnroe2020-04-07
| | | | | | | This reverts commit 3a156540b8d134b05d7c318ac047a0c690cdc950. Decided I don't like having two keys do the same thing (other than "special" keys).
* Reset unreadSoft only on first unreadHardJune McEnroe2020-04-07
| | | | | Also rename unread{,Lines} to be maybe more clear and disambiguate with buffer lines.
* Add M-q to collapse whitespaceJune McEnroe2020-04-07
|
* Add scroll position to status lineJune McEnroe2020-04-06
|
* Implement split scrollingJune McEnroe2020-04-06
|
* Use gnu-case-range and gnu-conditional-omitted-operand extensionsJune McEnroe2020-04-03
| | | | | I'm sad to do this but I just can't stand writing (foo ? foo : bar) anymore.
* Do not add an extra blank line on uiLoadJune McEnroe2020-04-02
| | | | | Adding one for the last unread position now, so this is mostly redundant, I think.
* Preserve the last blank line on reflowJune McEnroe2020-04-02
|
* Switch to windows with ascending unread counts on M-aJune McEnroe2020-04-02
|
* Hide filtered messagesJune McEnroe2020-03-31
|
* Save and load buffer line heatJune McEnroe2020-03-31
|
* Store line heat in bufferJune McEnroe2020-03-31
|
* Replace some declaration; while loops with for loopsJune McEnroe2020-03-30
| | | | | 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.
* Add text macrosJune McEnroe2020-03-30
|
* Add M-Enter to insert a newlineJune McEnroe2020-03-23
|
* Handle bracketed paste, including newlinesJune McEnroe2020-03-23
|
* Implement the causal.agency/consumer capabilityJune McEnroe2020-02-29
|
* Apply word wrapping to tabs before setting alignJune McEnroe2020-02-19
| | | | | This fixes long URLs right after the initial \t being wrapped and line counted incorrectly.
* Remove bad continues in styleParse loopsJune McEnroe2020-02-19
| | | | Since we're sometimes manually doing spaces that need the right styling.
* Various small cleanup in ui.cJune McEnroe2020-02-19
|
* Increase buffer size to 1024June McEnroe2020-02-17
|
* Accept Shift-M-0 through Shift-M-9 as wellJune McEnroe2020-02-17
| | | | This mostly just to accommodate my inverted keyboard layout.
* Only scroll after reflow if necessaryJune McEnroe2020-02-17
| | | | | If we've already filled up every line of the window, there is no need to scroll.
* Scroll the window only once during reflowJune McEnroe2020-02-17
| | | | | | | 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.
* Various small cleanupsJune McEnroe2020-02-16
| | | | Haven't really gone through ui.c yet.
* Replace a lot of snprintf with a catf implementationJune McEnroe2020-02-16
|
* Replace small integers in size_t with uintJune McEnroe2020-02-15
|
* Separate network info from selfJune McEnroe2020-02-15
|
* Save heat, unreadTotal, unreadWarmJune McEnroe2020-02-14
|
* Track unreadTotal and unreadWarm separatelyJune McEnroe2020-02-14
| | | | | Otherwise reflow's calculation of unreadLines is always going to be wrong if there were Cold lines interspersed.
* Set hidden to true initiallyJune McEnroe2020-02-13
| | | | Otherwise uiShow in uiInit does nothing, of course.
* Only uiShow if hidden and only uiHide if shownJune McEnroe2020-02-13
|
* Rename procPipe to utilPipeJune McEnroe2020-02-13
|
* Set swap correctly when closing a windowJune McEnroe2020-02-13
| | | | I knew I missed something.
* Refactor windows into array and add /moveJune McEnroe2020-02-13
| | | | Oof.
* Add -N flag for notificationsJune McEnroe2020-02-12
|
* Mark and unmark on uiHide, uiShowJune McEnroe2020-02-12
|