mirror of
https://github.com/tmux/tmux.git
synced 2025-01-26 07:58:55 +00:00
Merge branch 'obsd-master'
Sync from OpenBSD.
This commit is contained in:
commit
68cc635ed5
@ -86,6 +86,12 @@ cmd_choose_list_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||||||
}
|
}
|
||||||
free(copy);
|
free(copy);
|
||||||
|
|
||||||
|
if (idx == 0) {
|
||||||
|
free(template);
|
||||||
|
window_pane_reset_mode(wl->window->active);
|
||||||
|
return (CMD_RETURN_ERROR);
|
||||||
|
}
|
||||||
|
|
||||||
window_choose_ready(wl->window->active, 0, cmd_choose_list_callback,
|
window_choose_ready(wl->window->active, 0, cmd_choose_list_callback,
|
||||||
cmd_choose_list_free);
|
cmd_choose_list_free);
|
||||||
|
|
||||||
|
6
tty.c
6
tty.c
@ -1046,6 +1046,12 @@ tty_cmd_rawstring(struct tty *tty, const struct tty_ctx *ctx)
|
|||||||
|
|
||||||
for (i = 0; i < ctx->num; i++)
|
for (i = 0; i < ctx->num; i++)
|
||||||
tty_putc(tty, str[i]);
|
tty_putc(tty, str[i]);
|
||||||
|
|
||||||
|
tty->cx = tty->cy = UINT_MAX;
|
||||||
|
tty->rupper = tty->rlower = UINT_MAX;
|
||||||
|
|
||||||
|
tty_reset(tty);
|
||||||
|
tty_cursor(tty, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user