mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* select-screen-profile: limit erroneous attempts to 5; make the "plain"
profile default; remove the "recommended" pointer
This commit is contained in:
parent
8b93e99c30
commit
5cab15b5c3
2 changed files with 10 additions and 3 deletions
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -1,8 +1,9 @@
|
|||
screen-profiles (1.16) UNRELEASED; urgency=low
|
||||
|
||||
*
|
||||
* select-screen-profile: limit erroneous attempts to 5; make the "plain"
|
||||
profile default; remove the "recommended" pointer
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 26 Jan 2009 15:24:52 -0600
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 27 Jan 2009 12:36:44 -0500
|
||||
|
||||
screen-profiles (1.15-0ubuntu1) jaunty; urgency=low
|
||||
|
||||
|
|
|
@ -72,14 +72,20 @@ prompt() {
|
|||
i=$(expr $i + 1)
|
||||
desc=" "
|
||||
if [ "$x" = "ubuntu" ]; then
|
||||
desc="-light\t<---- ` gettext 'recommended'`"
|
||||
desc="-light\t"
|
||||
elif [ "$x" = "plain" ]; then
|
||||
simple=$i
|
||||
fi
|
||||
echo " $i. $x$desc"
|
||||
done
|
||||
echo
|
||||
selected=x
|
||||
count=1
|
||||
while /bin/true; do
|
||||
if [ $count -gt 5 ]; then
|
||||
exit 1
|
||||
fi
|
||||
count=`expr $count + 1`
|
||||
if [ -z "$selected" -a ! -z "$simple" ]; then
|
||||
selected="$simple"
|
||||
elif ! test $selected -gt 0 2>/dev/null; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue