mirror of
https://github.com/tmux/tmux.git
synced 2026-10-09 19:54:22 +00:00
Prepare collapsible OSC 133 output for review
Use the parent output-range implementation and preserve source rows and columns when output is folded or wrapped. Clear stale exit-status presence on repeated D markers. Apply the requested coding style and add regressions for folded output selections and prompt properties.
This commit is contained in:
@@ -2084,8 +2084,10 @@ screen_write_clearendofscreen(struct screen_write_ctx *ctx, u_int bg)
|
||||
ttyctx.bg = bg;
|
||||
|
||||
/* Erasing to the end clears the whole screen at 0,0. */
|
||||
if (s->cx == 0 && s->cy == 0)
|
||||
osc133 = input_osc_133_save_marker(ctx->owner, s);
|
||||
if (s->cx == 0) {
|
||||
if (s->cy == 0)
|
||||
osc133 = input_osc_133_save_marker(ctx->owner, s);
|
||||
}
|
||||
|
||||
/* Scroll into history if it is enabled and clearing entire screen. */
|
||||
if (s->cx == 0 &&
|
||||
|
||||
Reference in New Issue
Block a user