about summary refs log tree commit diff
path: root/ui.c (follow)
Commit message (Collapse)AuthorAge
* Use Warm heat for manually inserted blank linesJune McEnroe2021-01-19
| | | | Oops, forgot about these.
* Use Warm heat for blank lines 1.5June McEnroe2021-01-17
| | | | So they're not hidden by M-+.
* Save and load window visibility thresholdsJune McEnroe2021-01-16
|
* Restore toggling ignore with M--June McEnroe2021-01-16
| | | | So that pressing M-- repeatedly maintains the previous behavior.
* Generalize ignore toggling to visibility thresholdJune McEnroe2021-01-16
|
* Save and load the URL ring in the save file 1.4June McEnroe2021-01-11
|
* Avoid eating C-c while connectingJune McEnroe2020-10-12
| | | | | Split UI initialization into two steps either side of the call to connect, so that C-c works as interrupt while it's blocked.
* Factor out styleStripJune McEnroe2020-10-09
|
* Silence set-but-unused warning 1.2June McEnroe2020-09-09
| | | | getyx is so annoying this way.
* Add blank line to unread if there are already unreadJune McEnroe2020-09-07
| | | | | This fixes the inconsistent M-u behaviour when catgirl is restarting and reconnecting to pounce, for example.
* Call uiWrite to insert blank linesJune McEnroe2020-09-07
| | | | | It only used to use different code to avoid adding the blank line to the soft buffer.
* Add C-r, C-s for basic scrollback searchJune McEnroe2020-09-06
|
* Add M-n, M-p to jump to highlightsJune McEnroe2020-09-03
|
* Fix M-u behaviour difference before and after reflowJune McEnroe2020-09-03
|
* Recalculate unreadHard on reflowJune McEnroe2020-09-02
|
* Give blank lines timestampsJune McEnroe2020-09-02
| | | | Otherwise the zero timestamps totally break save data loading! Bad!
* Hide ignored messages at the soft -> hard buffer layerJune McEnroe2020-09-02
| | | | This restores normal scrolling behaviour.
* Still add ignored lines to unreadHardJune McEnroe2020-09-02
| | | | | Scrolling is still affected by hidden lines (which I'm not sure yet is good or not), so for M-u to work it needs to count ignored lines.
* Actually insert blank lines in the soft bufferJune McEnroe2020-09-02
| | | | So they can be preserved forever!
* Reimplement split scrollingJune McEnroe2020-09-02
|
* Fix inserting blank lines BEFORE the new messageJune McEnroe2020-09-02
|
* Only call windowUpdate when the shown window needs updatingJune McEnroe2020-09-02
|
* Call wclear on resizeJune McEnroe2020-09-02
| | | | | Otherwise artefects can appear when resizing to smaller width with wide characters at the right edge of the window.
* Fix line wrapping in various waysJune McEnroe2020-09-02
| | | | | | Never split a codepoint, don't set wrapping point unless we're not already wrapping, wrap on any unicode whitespace, only clear rest of line if still on the same line...
* Render one main window from buffersJune McEnroe2020-09-02
| | | | | | | | Still missing: split scrolling and preserving a blank on reflow either from resize or ignore toggling. Anecdata: on one of my instances of catgirl, RAM usage of the previous release was ~30M, RAM usage of this commit was ~12M.
* Invert meaning of unreadHard/unreadSoft to match new buffer codeJune McEnroe2020-09-01
| | | | Not sure why I had named them this way. Hard means hard-wrapped.
* Factor buffer out of uiJune McEnroe2020-09-01
| | | | In preparation for doing line wrapping outside of ncurses.
* Move styleParse out of uiJune McEnroe2020-09-01
|
* Say "OpenSSL" in additional permission noticesJune McEnroe2020-08-04
| | | | LibreSSL is "a modified version of that library".
* Replace catf with something that tracks lenJune McEnroe2020-07-30
| | | | Also the old catf would be broken with -DNDEBUG oops!
* 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.