diff options
author | nicm <nicm> | 2019-11-14 08:00:30 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-11-14 08:00:30 +0000 |
commit | 2dbf062a891e992b438a0923b9ffd79638014872 (patch) | |
tree | 6ff586dad0ebed6bf449b68a3ef0072c96190159 /input.c | |
parent | eb399e64d5c8f1b18e912fdf1c5488d602f78d80 (diff) | |
download | rtmux-2dbf062a891e992b438a0923b9ffd79638014872.tar.gz rtmux-2dbf062a891e992b438a0923b9ffd79638014872.tar.bz2 rtmux-2dbf062a891e992b438a0923b9ffd79638014872.zip |
Change new-session -A without a session name (that is, no -s option
also) to attach to the best existing session like attach-session rather
than creating a new one.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -876,7 +876,7 @@ input_set_state(struct window_pane *wp, const struct input_transition *itr) void input_parse(struct window_pane *wp) { - struct evbuffer *evb = wp->event->input; + struct evbuffer *evb = wp->event->input; input_parse_buffer(wp, EVBUFFER_DATA(evb), EVBUFFER_LENGTH(evb)); evbuffer_drain(evb, EVBUFFER_LENGTH(evb)); |