From 2dbf062a891e992b438a0923b9ffd79638014872 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 14 Nov 2019 08:00:30 +0000 Subject: 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. --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input.c') diff --git a/input.c b/input.c index ee12301c..cec46a99 100644 --- a/input.c +++ b/input.c @@ -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)); -- cgit