default selection is not accepted when pressing enter when resuming and choosing a session

Bug #1583590 reported by Jay R. Wren on 2016-05-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Low
Unassigned

Bug Description

```
$ byobu-tmux

Byobu sessions...

  1. tmux: 1: 9 windows (created Mon May 16 14:50:07 2016) [100x59] (group 0)
  2. tmux: 2: 9 windows (created Tue May 17 12:25:01 2016) [101x61] (group 0)
  3. Create a new Byobu session (tmux)
  4. Run a shell without Byobu (/bin/bash)

Choose 1-4 [1]:

Choose 1-4 [1]:
```

I have to actually type 1 and press enter, but the UI suggests I can press enter and [1] will be default.

```
$ byobu-tmux -V
tmux 2.1
```

This started after upgrading from wily to xenial.

Related branches

Dustin Kirkland  (kirkland) wrote :

Good catch. This is an easy fix.

Changed in byobu:
importance: Undecided → Low
status: New → In Progress
Dustin Kirkland  (kirkland) wrote :

bzr commit -m '* usr/lib/byobu/include/select-session.py: LP: #1583590
  - fix default window selection by just hitting enter' --fixes 'lp:1583590'
Committing to: /srv/media/src/byobu/byobu/
modified debian/changelog
modified usr/lib/byobu/include/select-session.py
Committed revision 2514.

Changed in byobu:
status: In Progress → Fix Committed
Changed in byobu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers