--- a/usr/lib/byobu/session
|
|
+++ b/usr/lib/byobu/session
|
|
@@ -34,7 +34,7 @@ __session() {
|
|
fi
|
|
;;
|
|
screen)
|
|
- local count=$(screen -ls | grep "^ .*\)$" | wc -l)
|
|
+ local count=$(screen -ls | grep "^\s\+.*)$" | wc -l)
|
|
if [ $count -gt 1 ]; then
|
|
color u W k; printf "${ICON_SESSION}%S"; color --
|
|
else
|