summary refs log tree commit diff
path: root/buffer.c (follow)
Commit message (Collapse)AuthorAge
* 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.