summary refs log tree commit diff
path: root/buffer.c (follow)
Commit message (Collapse)AuthorAge
* Do not copy time to wrapped linesJune McEnroe2021-01-25
|
* Remove use of "%n" to appease de RaadtJune McEnroe2021-01-23
| | | | | | | | | | | | | Sure, it was completely unnecessary, but I resent being told how to use snprintf. https://cvsweb.openbsd.org/src/lib/libc/stdio/vfprintf.c?rev=1.79&content-type=text/x-cvsweb-markup Notes: My problem here is with yelling about a standard C feature that has legitimate uses, simply because it *could* be used in a way that might cause security issues. If you're going to do that, you may as well syslog(3) whenever someone runs any C code at all.
* Generalize ignore toggling to visibility thresholdJune McEnroe2021-01-16
|
* Count width of 2 for invalid multibyte with high bitJune McEnroe2021-01-09
|
* Collapse whitespace while wrapping and discard trailing spaceJune McEnroe2021-01-04
| | | | | The latter avoids an extra blank line when a message ends with whitespace that hits the edge of the window.
* Clear wrapping point at alignment tabJune McEnroe2020-10-09
| | | | | This fixes odd wrapping when a nick contains a hyphen and there are no further wrapping points.
* Copy style from wrapping pointJune McEnroe2020-09-11
| | | | | | This fixes a bug when wrapping on a word with style changes inside it, where the copied style would be different depending on the width of the terminal.
* Include DEL in characters ncurses will print in ^A formJune McEnroe2020-09-08
|
* Let wrapped lines use the last columnJune McEnroe2020-09-07
|
* Handle non-alignment tabs in line wrappingJune McEnroe2020-09-06
|
* Recalculate unreadHard on reflowJune McEnroe2020-09-02
|
* Hide ignored messages at the soft -> hard buffer layerJune McEnroe2020-09-02
| | | | This restores normal scrolling behaviour.
* Preserve style after alignmentJune McEnroe2020-09-02
| | | | This makes wrapping text with background colour look much better.
* Actually insert blank lines in the soft bufferJune McEnroe2020-09-02
| | | | So they can be preserved forever!
* Don't consider the alignment tab a wrapping pointJune McEnroe2020-09-02
|
* 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.
* Implement buffer line wrappingJune McEnroe2020-09-01
| | | | Not yet rendered in the UI! Just done in parallel.
* Factor buffer out of uiJune McEnroe2020-09-01
In preparation for doing line wrapping outside of ncurses.