This commit is contained in:
Online122228 2024-01-04 04:16:32 +01:00
commit 69f77d2c80

View file

@ -3752,7 +3752,7 @@ get_disk() {
# Append '(disk mount point)' to the subtitle. # Append '(disk mount point)' to the subtitle.
if [[ "$subtitle" ]]; then if [[ "$subtitle" ]]; then
prin "$subtitle${disk_sub:+ ($disk_sub)}" "$disk" prin "$subtitle" "${disk_sub:+ ${bold}($disk_sub)${reset}} $disk"
else else
prin "$disk_sub" "$disk" prin "$disk_sub" "$disk"
fi fi
@ -4882,7 +4882,7 @@ dynamic_prompt() {
# If the ascii art is taller than the info. # If the ascii art is taller than the info.
((lines=lines>info_height?lines-info_height+1:1)) ((lines=lines>info_height?lines-info_height+1:1))
printf -v nlines "%${lines}s" printf -v nlines "%${lines}s"\
printf "%b" "${nlines// /\\n}" printf "%b" "${nlines// /\\n}"
} }