mirror of
https://github.com/tmux/tmux.git
synced 2026-10-13 22:34:23 +00:00
Shorten some long lines.
This commit is contained in:
11
input.c
11
input.c
@@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: input.c,v 1.273 2026/10/08 07:50:05 nicm Exp $ */
|
/* $OpenBSD: input.c,v 1.274 2026/10/12 17:04:48 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||||
@@ -2016,6 +2016,7 @@ static void
|
|||||||
input_csi_dispatch_sm_private(struct input_ctx *ictx)
|
input_csi_dispatch_sm_private(struct input_ctx *ictx)
|
||||||
{
|
{
|
||||||
struct screen_write_ctx *sctx = &ictx->ctx;
|
struct screen_write_ctx *sctx = &ictx->ctx;
|
||||||
|
struct window_pane *wp = ictx->wp;
|
||||||
struct grid_cell *gc = &ictx->cell.cell;
|
struct grid_cell *gc = &ictx->cell.cell;
|
||||||
u_int i;
|
u_int i;
|
||||||
|
|
||||||
@@ -2077,13 +2078,13 @@ input_csi_dispatch_sm_private(struct input_ctx *ictx)
|
|||||||
break;
|
break;
|
||||||
case 2031:
|
case 2031:
|
||||||
screen_write_mode_set(sctx, MODE_THEME_UPDATES);
|
screen_write_mode_set(sctx, MODE_THEME_UPDATES);
|
||||||
if (ictx->wp != NULL) {
|
if (wp != NULL) {
|
||||||
ictx->wp->last_theme = window_pane_get_theme(ictx->wp);
|
wp->last_theme = window_pane_get_theme(wp);
|
||||||
ictx->wp->flags &= ~PANE_THEMECHANGED;
|
wp->flags &= ~PANE_THEMECHANGED;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 2026:
|
case 2026:
|
||||||
screen_write_start_sync(ictx->wp);
|
screen_write_start_sync(wp);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
log_debug("%s: unknown '%c'", __func__, ictx->ch);
|
log_debug("%s: unknown '%c'", __func__, ictx->ch);
|
||||||
|
|||||||
Reference in New Issue
Block a user