Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2017-03-25 14:01:12 +00:00
commit 05c97d7fe9

6
tty.c
View File

@ -1228,11 +1228,7 @@ tty_cmd_setselection(struct tty *tty, const struct tty_ctx *ctx)
void
tty_cmd_rawstring(struct tty *tty, const struct tty_ctx *ctx)
{
u_int i;
u_char *str = ctx->ptr;
for (i = 0; i < ctx->num; i++)
tty_putc(tty, str[i]);
tty_add(tty, ctx->ptr, ctx->num);
tty_invalidate(tty);
}