* usr/bin/byobu-select-backend:

- switch the order of the listed backends
This commit is contained in:
Dustin Kirkland 2011-12-25 12:07:10 -06:00
commit af6659ca80
2 changed files with 7 additions and 6 deletions

3
debian/changelog vendored
View file

@ -1,6 +1,7 @@
byobu (5.1) unreleased; urgency=low
* UNRELEASED
* usr/bin/byobu-select-backend:
- switch the order of the listed backends
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 24 Dec 2011 17:35:04 -0600

View file

@ -36,14 +36,14 @@ prompt() {
local choice
echo
echo "Select the byobu backend:"
echo " 1. screen"
echo " 2. tmux"
echo " 1. tmux"
echo " 2. screen"
echo
printf "Choose 1-2 [2]: "
printf "Choose 1-2 [1]: "
choice=$(head -n1)
case $choice in
1) _RET="screen" ;;
2|"") _RET="tmux" ;;
1|"") _RET="tmux" ;;
2) _RET="screen" ;;
*) prompt ;;
esac
}