byobu-ctrl-a sets prefix2 to ctrl-a key
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu (Ubuntu) |
Fix Released
|
Medium
|
Dustin Kirkland |
Bug Description
After tmux 1.6, byoub-ctrl-a command sets prefix2 to ctrl-a on screen mode.
How to reproduce:
1. Exec "byobu-ctrl-a"
2. Select "screen" mode
3. Press F12 and c keys
Expected behaviour:
* Create new window (as same as ctrl-a)
Actual behaviour:
* No effects.
I think that F12 key should be prefix key both mode "byobu-ctrl-a" modes.
According following code, from tmux 1.6, it seems that change that behaviour.
http://
---
$BYOBU_SED_INLINE -e "/^set -g prefix/d" -e "/ send-prefix/d" -e "/^unbind-key -n C-${key}/d" "$keybindings"
echo "unbind-key -n C-${key}" >> "$keybindings"
if $BYOBU_BACKEND -V | grep " 1.5"; then
# tmux 1.5 supports a list of prefixes
echo "set -g prefix ^${KEY},F12" >> "$keybindings"
else
# tmux 1.6 and above supports prefix and prefix2
echo "set -g prefix ^${KEY}" >> "$keybindings"
echo "set -g prefix2 ^${KEY}" >> "$keybindings"
fi
---
How about following code?
---
echo "set -g prefix2 F12" >> "$keybindings"
---
Related branches
- Dustin Kirkland : Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedusr/bin/byobu-ctrl-a.in (+1/-1)
Changed in byobu (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | nobody → Dustin Kirkland (kirkland) |
status: | New → In Progress |
status: | In Progress → Fix Committed |
This bug was fixed in the package byobu - 5.123-0ubuntu1
---------------
byobu (5.123-0ubuntu1) artful; urgency=medium
[ @cripton ] /github. com/dustinkirkl and/byobu/ pull/21
* po/es.po:
- fix typos and errors in the spanish translation
- https:/
[ Sujeevan Vijayakumaran ] wifi-status: /github. com/dustinkirkl and/byobu/ pull/24
* usr/bin/
- use iw and ip rather than ifconfig and iwconfig, which are deprecated
- https:/
[ Javier Merino ] /github. com/dustinkirkl and/byobu/ pull/23
* usr/bin/byobu.in:
- add support for a BYOBU_ALT_TITLE variable, which enables users to
set an alternate window title for their byobu session
- https:/
[ Mitsuya Shibata ] byobu-ctrl- a.in: LP: #1710780
* usr/bin/
- set prefix2 to F12 in screen-compat ctrl-a mode
-- Dustin Kirkland <email address hidden> Thu, 17 Aug 2017 18:44:26 -0500