mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -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
|
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
|
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 24 Dec 2011 17:35:04 -0600
|
||||||
|
|
||||||
|
|
|
@ -36,14 +36,14 @@ prompt() {
|
||||||
local choice
|
local choice
|
||||||
echo
|
echo
|
||||||
echo "Select the byobu backend:"
|
echo "Select the byobu backend:"
|
||||||
echo " 1. screen"
|
echo " 1. tmux"
|
||||||
echo " 2. tmux"
|
echo " 2. screen"
|
||||||
echo
|
echo
|
||||||
printf "Choose 1-2 [2]: "
|
printf "Choose 1-2 [1]: "
|
||||||
choice=$(head -n1)
|
choice=$(head -n1)
|
||||||
case $choice in
|
case $choice in
|
||||||
1) _RET="screen" ;;
|
1|"") _RET="tmux" ;;
|
||||||
2|"") _RET="tmux" ;;
|
2) _RET="screen" ;;
|
||||||
*) prompt ;;
|
*) prompt ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue