* usr/bin/byobu, usr/bin/byobu-status, usr/share/byobu/keybindings/f-

keys.tmux: LP: #1215210
  - default window name to -
  - this is a compromise and I see no other way around this
This commit is contained in:
Dustin Kirkland 2013-09-19 10:55:53 -05:00
commit fab94dc964
4 changed files with 6 additions and 10 deletions

4
debian/changelog vendored
View file

@ -5,6 +5,10 @@ byobu (5.59) unreleased; urgency=low
- I've tested this to display properly in:
+ gnome-terminal, xterm, uxterm, terminator, konsole
- Still doesn't look right in putty
* usr/bin/byobu, usr/bin/byobu-status, usr/share/byobu/keybindings/f-
keys.tmux: LP: #1215210
- default window name to -
- this is a compromise and I see no other way around this
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 12 Sep 2013 10:53:27 -0500

View file

@ -108,7 +108,7 @@ case $BYOBU_BACKEND in
fi
fi
BYOBU_PROFILE="-f $BYOBU_PREFIX/share/$PKG/profiles/tmuxrc"
DEFAULT_WINDOW="new-session ${BYOBU_PREFIX}/bin/byobu-shell"
DEFAULT_WINDOW="new-session -n - ${BYOBU_PREFIX}/bin/byobu-shell"
sessions=$($BYOBU_BACKEND list-sessions 2>/dev/null) || true
;;
screen)

View file

@ -62,14 +62,6 @@ case "$BYOBU_BACKEND" in
break
fi
done
# Do first-run procedures, if necessary
if [ -n "$TMUX" ]; then
if [ ! -e "$BYOBU_RUN_DIR/${TMUX#*,}" ]; then
# Clear initial window name
tmux rename-window ""
touch "$BYOBU_RUN_DIR/${TMUX#*,}"
fi
fi
;;
esac

View file

@ -28,7 +28,7 @@ source $BYOBU_PREFIX/share/byobu/keybindings/f-keys.tmux.disable
# Documented in: $BYOBU_PREFIX/share/doc/byobu/help.tmux.txt
bind-key -n F1 new-window -k -n config byobu-config
bind-key -n S-F1 new-window -k -n help '$BYOBU_PAGER $BYOBU_PREFIX/share/doc/byobu/help.tmux.txt'
bind-key -n F2 new-window \; rename-window ""
bind-key -n F2 new-window \; rename-window "-"
bind-key -n C-F2 display-panes \; split-window -h
bind-key -n S-F2 display-panes \; split-window -v
bind-key -n C-S-F2 new-session