This reverts commit b2f83b4c0f.
b2f83b4c0f
@@ -283,9 +283,7 @@ case $- in
bind 'TAB:menu-complete'
# only with interactive non-sudo shell
if [ -n "$SSH_CONNECTION" ] && [ -z "$SUDO_UID" ]; then
[ "$(parent)" = "screen" ] ||
[ "$(parent)" = "mosh-server" ] ||
screen -RR
[ "$(parent)" = "screen" ] || screen -RR
fi
;;
esac
The note is not visible to the blocked user.