about summary refs log tree commit diff
path: root/ui.c (follow)
Commit message (Collapse)AuthorAge
* 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.
* Define ColorCap instead of hardcoding 100June McEnroe2020-02-11
|
* Cast towupper to wchar_tJune McEnroe2020-02-11
| | | | For some reason it takes and returns wint_t...
* Cast set but unused variables to voidJune McEnroe2020-02-11
|
* Check if VDSUSP existsJune McEnroe2020-02-11
|
* Invalidate title on uiShowJune McEnroe2020-02-10
|
* Only write out title if it has changedJune McEnroe2020-02-10
|
* Only write out title on uiDrawJune McEnroe2020-02-10
|
* Manually raise SIGINT from C-cJune McEnroe2020-02-10
| | | | | | 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.
* Replace alignment tabs with spaces in bufferListJune McEnroe2020-02-10
|
* Add C-o as alias of M-/June McEnroe2020-02-10
| | | | M-/ is from weechat. C-o is like in vim.
* Factor out XDG base directory codeJune McEnroe2020-02-10
| | | | | And add warnings to configOpen, since that's the only way to be accurate if a weird error occurs.