summary refs log tree commit diff
path: root/buffer.c
AgeCommit message (Collapse)Author
2020-09-06Handle non-alignment tabs in line wrappingC. McEnroe
2020-09-02Recalculate unreadHard on reflowC. McEnroe
2020-09-02Hide ignored messages at the soft -> hard buffer layerC. McEnroe
This restores normal scrolling behaviour.
2020-09-02Preserve style after alignmentC. McEnroe
This makes wrapping text with background colour look much better.
2020-09-02Actually insert blank lines in the soft bufferC. McEnroe
So they can be preserved forever!
2020-09-02Don't consider the alignment tab a wrapping pointC. McEnroe
2020-09-02Fix line wrapping in various waysC. McEnroe
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...
2020-09-02Render one main window from buffersC. McEnroe
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.
2020-09-01Implement buffer line wrappingC. McEnroe
Not yet rendered in the UI! Just done in parallel.
2020-09-01Factor buffer out of uiC. McEnroe
In preparation for doing line wrapping outside of ncurses.