Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2026-06-13 21:15:06 +01:00
6 changed files with 24 additions and 19 deletions

16
input.c
View File

@@ -1365,7 +1365,7 @@ input_esc_dispatch(struct input_ctx *ictx)
{
struct screen_write_ctx *sctx = &ictx->ctx;
struct screen *s = sctx->s;
struct input_table_entry *entry;
const struct input_table_entry *entry;
if (ictx->flags & INPUT_DISCARD)
return (0);
@@ -1439,12 +1439,12 @@ input_esc_dispatch(struct input_ctx *ictx)
static int
input_csi_dispatch(struct input_ctx *ictx)
{
struct screen_write_ctx *sctx = &ictx->ctx;
struct screen *s = sctx->s;
struct input_table_entry *entry;
struct options *oo;
int i, n, m, ek, set, p;
u_int cx, bg = ictx->cell.cell.bg;
struct screen_write_ctx *sctx = &ictx->ctx;
struct screen *s = sctx->s;
const struct input_table_entry *entry;
struct options *oo;
int i, n, m, ek, set, p;
u_int cx, bg = ictx->cell.cell.bg;
if (ictx->flags & INPUT_DISCARD)
return (0);
@@ -3225,7 +3225,7 @@ static int
input_osc_52_parse(struct input_ctx *ictx, const char *p, u_char **out,
int *outlen, char *clip)
{
char *end;
const char *end;
size_t len;
const char *allow = "cpqs01234567";
u_int i, j = 0;