Public bug reported:

tmux bi w choose-t -wF'#{==:#{window_index},2}'  #this shows 0 on windows other 
than window 2:
(0)  - 0: 1
(1)  ├─> 0: 0
(2)  ├─> 1: 0
(3)  ├─> 2: 1
(4)  ├─> 3: 0

tmux bi w choose-t -wf'#{==:#{window_index},2}'  #so this eliminates windows 
other than window 2:
(0)  - 0: 6 windows (attached)
(1)  └─> 2: ssh* (1 panes) "e540"

tmux bi w choose-t -wF'#{window_format}'  #this shows 0 on the session line and 
1 on each window:
(0)  - 0: 0
(1)  ├─> 0: 1
(2)  ├─> 1: 1
(3)  ├─> 2: 1
(4)  ├─> 3: 1

tmux bi w choose-t -wf'#{window_format}'  #so this ought to eliminate the 
session line, and restore choose-window alignment, but doesn't:
(0)  - 0: 4 windows (attached)
(1)  ├─> 0: man- (1 panes) "e540"
(2)  ├─> 1: bash (1 panes) "e540"
(3)  ├─> 2: ssh* (1 panes) "e540"
(4)  ├─> 3: bash (1 panes) "e540"

if it did, then my choose-window list could be properly aligned as it is
on centos7 (tmux-1.8-4.el7.x86_64):
(0)  0: htop  "umari"
(1)  1: bash  "umari"
(2)  2: bash- "umari"
(3)  3: bash* "umari"

and ubuntu xenial (tmux 2.1-3build1):
(0)  0: [tmux]- "jocur"                                                         
                                                                                
                                                                 
(1)  1: bash* "jocur"

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: tmux 3.0a-2
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.4
Architecture: amd64
CasperMD5CheckResult: skip
Date: Sat Aug 15 21:05:07 2020
InstallationDate: Installed on 2020-03-15 (153 days ago)
InstallationMedia: Lubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200314)
ProcEnviron:
 LC_TIME=en_DK.utf8
 TERM=screen
 PATH=(custom, no user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: tmux
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: tmux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891785

Title:
  choose-w misaligned (regression)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tmux/+bug/1891785/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to