mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
parent
f6146b6392
commit
42ac65940d
2 changed files with 3 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -10,6 +10,8 @@ byobu (4.55) unreleased; urgency=low
|
||||||
* usr/bin/byobu-janitor: LP: #867746
|
* usr/bin/byobu-janitor: LP: #867746
|
||||||
- revert previous change, don't automatically set monochrome mode
|
- revert previous change, don't automatically set monochrome mode
|
||||||
until we have a better way of detecting it
|
until we have a better way of detecting it
|
||||||
|
* usr/lib/byobu/menu: LP: #881993
|
||||||
|
- fix escape key determination
|
||||||
|
|
||||||
[ Will Ellwood ]
|
[ Will Ellwood ]
|
||||||
* usr/lib/byobu/disk: LP: #904824
|
* usr/lib/byobu/disk: LP: #904824
|
||||||
|
|
|
@ -27,7 +27,7 @@ __menu() {
|
||||||
local bindings esc key text
|
local bindings esc key text
|
||||||
[ -r "$BYOBU_CONFIG_DIR/keybindings" ] && bindings="$BYOBU_CONFIG_DIR/keybindings" || bindings="$HOME/.screenrc"
|
[ -r "$BYOBU_CONFIG_DIR/keybindings" ] && bindings="$BYOBU_CONFIG_DIR/keybindings" || bindings="$HOME/.screenrc"
|
||||||
if grep -qs "^source.*screen-escape-keys$" $bindings 2>/dev/null || [ "$1" = "--disable-f-keys" ]; then
|
if grep -qs "^source.*screen-escape-keys$" $bindings 2>/dev/null || [ "$1" = "--disable-f-keys" ]; then
|
||||||
esc=`grep "^escape" $bindings | $SED "s/^.*\(.\)$/\1/"`
|
esc=`grep "^escape" $bindings | $SED "s/.*^\(.\).*/\1/"`
|
||||||
[ -n "$esc" ] && key="^$esc-@" || key="^a-@"
|
[ -n "$esc" ] && key="^$esc-@" || key="^a-@"
|
||||||
elif grep -qs "^source.*none$" $bindings 2>/dev/null; then
|
elif grep -qs "^source.*none$" $bindings 2>/dev/null; then
|
||||||
key="byobu-config"
|
key="byobu-config"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue