about summary refs log tree commit diff
path: root/buffer.c (follow)
Commit message (Collapse)AuthorAge
* Replace catf with seprintfJune McEnroe2021-06-09
|
* Add numbers to buffer linesJune McEnroe2021-01-26
| | | | | | | | | 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.
* 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.
;follow=1'>Set cursor theme and sizeJune McEnroe 2021-02-07Use scrot for up -s if no screencaptureJune McEnroe Still missing putting the URL in an X selection. 2021-02-07Enable mouse acceleration in XJune McEnroe 2021-02-07Set colours for Xt and cwmJune McEnroe And increase XTerm internalBorder. 2021-02-07Set urgency on bell in xtermJune McEnroe 2021-02-07Add bindings for brightness controlJune McEnroe Weirdly the Fn key doesn't change how the F row registers... I wonder if I can do something about that. 2021-02-07Set X key repeat rateJune McEnroe 2021-02-07Bump font size to 12June McEnroe 11 is what I use on macOS, but I feel like my eyes are working harder here. 2021-02-07Fully configure and rebind cwmJune McEnroe This is sort of a mix of trying to emulate macOS somewhat for my muscle memory and just rebinding some of the cwm defaults to use 4- rather than M-. 2021-02-07Add BintiJune McEnroe 2021-02-07Finish configuring xtermJune McEnroe 2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe cwm still needs a lot more rebinding, and I need to actually look at its other options. xterm definitely still needs some configuration, but I at least managed to get it to use a decent looking font. Very happy that OpenBSD includes Luxi Mono, which is what my usual font, Go Mono, is based on anyway. Still missing is xmodmap and such. 2021-02-06Add xterm output to schemeJune McEnroe