Skip to content

Commit

Permalink
Suppress screen junk by clearing screen before switching resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
twojstaryzdomu committed Dec 15, 2024
1 parent 94c124c commit 4702e46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scriptmodules/supplementary/runcommand/runcommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1028,6 +1028,7 @@ function mode_switch() {
# if we have switched mode, switch the framebuffer resolution also
if [[ "$?" -eq 0 ]]; then
sleep 1
clear
MODE_CUR=($(get_${HAS_MODESET}_mode_info))
[[ -z "$FB_NEW" ]] && FB_NEW="${MODE_CUR[2]}x${MODE_CUR[3]}"
return 0
Expand Down

0 comments on commit 4702e46

Please sign in to comment.