mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/bin/byobu-select-backend:
- switch the order of the listed backends
This commit is contained in:
parent
b0cd391e21
commit
af6659ca80
2 changed files with 7 additions and 6 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue