summary refs log tree commit diff
path: root/ui.c (follow)
Commit message (Collapse)AuthorAge
* 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
|
* Hide debug prompt if buffer starts with /June McEnroe2020-02-12
|
* Add C-t transposeJune McEnroe2020-02-12
| | | | Also in emacs, weechat.
* Add C-v and M-vJune McEnroe2020-02-12
| | | | | I figure there should be some way to scroll without keypad, and apparently this is what emacs offers...
* Support monochromatic terminalsJune McEnroe2020-02-11
| | | | Oops, division by zero!
* Exit focus and paste modes on err exitJune McEnroe2020-02-11
|
* Call completeClear when closing a windowJune McEnroe2020-02-11
|
* Use time_t for save signatureJune McEnroe2020-02-11
| | | | | | | 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.
* Set self.nick to * initiallyJune McEnroe2020-02-11
| | | | | | | 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.