about summary refs log tree commit diff
path: root/ui.c (follow)
Commit message (Collapse)AuthorAge
...
* 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.
* Leave a blank line after loaded bufferJune McEnroe2020-02-10
|
* Add -s to save and load buffersJune McEnroe2020-02-10
|
* Show heat and other unread in titleJune McEnroe2020-02-10
|
* Improve color fudgingJune McEnroe2020-02-10
| | | | | | 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.
* Support all 99 IRC colorsJune McEnroe2020-02-10
| | | | Corresponding ANSI colors from the table on ircdocs.
* Recalculate unreadLines on reflowJune McEnroe2020-02-10
|
* Only make windows hotterJune McEnroe2020-02-10
| | | | A warm message shouldn't clear a window's hotness.
* Always increase unreadLinesJune McEnroe2020-02-10
| | | | | 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.
* Move scroll marker on resizeJune McEnroe2020-02-10
|
* Update line count for words longer than linesJune McEnroe2020-02-10
|
* Simplify mark, heat, unread trackingJune McEnroe2020-02-10
|