fix(darwin): don't configure braille on darwin; it requires SDL

This commit is contained in:
Martin Wimpress 2024-05-14 19:02:34 +01:00 committed by Martin Wimpress
parent 62f6e30c70
commit 79a8f474f7
1 changed files with 2 additions and 1 deletions

View File

@ -1168,7 +1168,8 @@ function vm_boot() {
args+=(-k "${keyboard_layout}") args+=(-k "${keyboard_layout}")
fi fi
if [ -n "${BRAILLE}" ]; then # Braille requires SDL, so disable for macOS
if [ -n "${BRAILLE}" ] && [ ${DARWIN} -eq 0 ]; then
if ${QEMU} -chardev help | grep -q braille; then if ${QEMU} -chardev help | grep -q braille; then
# shellcheck disable=SC2054 # shellcheck disable=SC2054
#args+=(-chardev braille,id=brltty #args+=(-chardev braille,id=brltty