diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-03-25 14:01:12 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-03-25 14:01:12 +0000 |
commit | 05c97d7fe9ede1b9d185ed21242eb8470350affc (patch) | |
tree | 28c3cb169ac98fb4a4a8d63a8110fcca0e7200d1 /tty.c | |
parent | 2d84ee900131214ee463d89abc051586b3a63afb (diff) | |
parent | b9a4beb6e7d8467bf34c187aebaec794673e6efd (diff) | |
download | rtmux-05c97d7fe9ede1b9d185ed21242eb8470350affc.tar.gz rtmux-05c97d7fe9ede1b9d185ed21242eb8470350affc.tar.bz2 rtmux-05c97d7fe9ede1b9d185ed21242eb8470350affc.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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); } |