Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument like "%s", "%d" causes broken layout. #56

Closed
greymd opened this issue May 16, 2017 · 2 comments
Closed

Argument like "%s", "%d" causes broken layout. #56

greymd opened this issue May 16, 2017 · 2 comments
Labels

Comments

@greymd
Copy link
Owner

greymd commented May 16, 2017

$ xpanes -V; tmux -V
xpanes 2.0.2
tmux 2.2
$ xpanes '%d' '%s'

expected: 2panes
actual: 3panes

It seems that this is caused by perl.
printf method in perl interprets such the query.

@greymd greymd added the bug label May 16, 2017
@greymd greymd changed the title Parameter like "%s", "%d" causes broken layout. Argument like "%s", "%d" causes broken layout. May 16, 2017
@greymd
Copy link
Owner Author

greymd commented May 17, 2017

In addition, some tmux version cannot recognize window name which includes %.

root@6e9ece0ec585:/work# tmux new-window -n %s-3087 -d
root@6e9ece0ec585:/work# tmux split-window -t %s-3087 -h
can't find pane %s-3087

@greymd
Copy link
Owner Author

greymd commented May 18, 2017

Fixed with v2.1.0.

@greymd greymd closed this as completed May 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant