Spaces aren't allowed in window and layout names

Bug #1190290 reported by Peter VandeHaar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Fix Released
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

Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.