diff --git a/debian/changelog b/debian/changelog index 5f597302..f300de6b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Thu, 12 Sep 2013 10:53:27 -0500 diff --git a/usr/bin/byobu b/usr/bin/byobu index 3895a208..ca48cfaf 100755 --- a/usr/bin/byobu +++ b/usr/bin/byobu @@ -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) diff --git a/usr/bin/byobu-status b/usr/bin/byobu-status index fa9de4b3..fec75172 100755 --- a/usr/bin/byobu-status +++ b/usr/bin/byobu-status @@ -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 diff --git a/usr/share/byobu/keybindings/f-keys.tmux b/usr/share/byobu/keybindings/f-keys.tmux index 842d806d..ace04163 100644 --- a/usr/share/byobu/keybindings/f-keys.tmux +++ b/usr/share/byobu/keybindings/f-keys.tmux @@ -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