diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-13 14:27:58 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-13 14:27:58 +0300 |
| commit | 5ab6b560e8528c27ba934b90f94b1828b7771e27 (patch) | |
| tree | 409c2a2e864529ccda0ff3e3b75b0280279e2a33 /tests/extern/kitty | |
| parent | 7633ab2c60b40bd5aa67ef391b2a0d149685742f (diff) | |
Encapsulate stream queue context and consolidate forwarding wrappers
- Create struct stream_emit_ctx packing stream queue arguments into 1 cache line
- Reduce emit_stream_bulk_wrapped from 13 parameters to 3
- Reduce flush_stream_queue from 10 parameters to 1
- Extract stream_queue_finish to eliminate duplicated cleanup in kernel instantiations
- Replace EMIT_STREAM_ROW macros with typed inline functions
- Move pending_wrap clearing directly into term_screen_erase, insert, delete, and scroll
- Remove sc_erase_display, sc_erase_line, sc_insert_chars, and sc_delete_chars wrappers
- Consolidate term_row and remove duplicated row_fill_gap helper
Diffstat (limited to 'tests/extern/kitty')
| -rw-r--r-- | tests/extern/kitty/screen_bridge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/extern/kitty/screen_bridge.c b/tests/extern/kitty/screen_bridge.c index 63a3583..50f86a7 100644 --- a/tests/extern/kitty/screen_bridge.c +++ b/tests/extern/kitty/screen_bridge.c @@ -97,7 +97,7 @@ PROPERTY(uint8_t, underline) int kitty_screen_row_length(struct term *t, int row) { if (!t || row < 0 || row >= t->rows) return 0; - const struct srow *r = term_screen_row(t, row); + const struct srow *r = term_row(t, row); return r ? (int)r->len : 0; } |
