mirror of
https://github.com/tmux/tmux.git
synced 2026-03-06 15:55:33 +00:00
Merge branch 'obsd-master'
This commit is contained in:
4
tty.c
4
tty.c
@@ -2063,7 +2063,7 @@ tty_cmd_setselection(struct tty *tty, const struct tty_ctx *ctx)
|
||||
}
|
||||
|
||||
void
|
||||
tty_set_selection(struct tty *tty, const char *flags, const char *buf,
|
||||
tty_set_selection(struct tty *tty, const char *clip, const char *buf,
|
||||
size_t len)
|
||||
{
|
||||
char *encoded;
|
||||
@@ -2079,7 +2079,7 @@ tty_set_selection(struct tty *tty, const char *flags, const char *buf,
|
||||
|
||||
b64_ntop(buf, len, encoded, size);
|
||||
tty->flags |= TTY_NOBLOCK;
|
||||
tty_putcode_ss(tty, TTYC_MS, flags, encoded);
|
||||
tty_putcode_ss(tty, TTYC_MS, clip, encoded);
|
||||
|
||||
free(encoded);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user