| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
This directly correlates hard-wrapped lines with the soft lines
they were wrapped from.
Choosing uint here because it doesn't change the size of struct
Line. It doesn't at all matter since buffers only hold 1024 lines
at a time anyway.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
The latter avoids an extra blank line when a message ends with
whitespace that hits the edge of the window.
|
|
|
|
|
| |
This fixes odd wrapping when a nick contains a hyphen and there are no
further wrapping points.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This restores normal scrolling behaviour.
|
|
|
|
| |
This makes wrapping text with background colour look much better.
|
|
|
|
| |
So they can be preserved forever!
|
| |
|
|
|
|
|
|
| |
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...
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Not yet rendered in the UI! Just done in parallel.
|
|
In preparation for doing line wrapping outside of ncurses.
|