Spaces aren't allowed in window and layout names

Bug #1190290 reported by Peter VandeHaar on 2013-06-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Medium
Unassigned

Bug Description

To reproduce:
hit F8, type 'two words', hit enter.
hit C-S-F8, type 'two words', hit enter, hit C-F8.

In /usr/share/byobu/keybindings/f-keys.tmux the line
bind-key -n F8 command-prompt -p "(rename-window)" "rename-window %%"
ought to be
bind-key -n F8 command-prompt -p "(rename-window)" "rename-window '%%'"
and the line
bind-key -n C-S-F8 command-prompt -p "Save byobu layout as:" "run-shell 'byobu-layout save %%'"
ought to be
bind-key -n C-S-F8 command-prompt -p "Save byobu layout as:" "run-shell 'byobu-layout save \"%%\"'"

Related branches

Peter VandeHaar (pjvandehaar) wrote :

A better manifestation of the problem:

hit F8
type 'a; detach' without the quotes
hit enter

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

Committed revision 2144.

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