summary refs log tree commit diff
path: root/buffer.c
AgeCommit message (Collapse)Author
2020-10-09Clear wrapping point at alignment tabC. McEnroe
This fixes odd wrapping when a nick contains a hyphen and there are no further wrapping points.
2020-09-11Copy style from wrapping pointC. McEnroe
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.
2020-09-08Include DEL in characters ncurses will print in ^A formC. McEnroe
2020-09-07Let wrapped lines use the last columnC. McEnroe
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.