Skip to content

Commit a1f8118

Browse files
frenckclaude
andauthored
🐛 Fix unreadable terminal text in Safari/iOS and Firefox (#1033)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3afb6fe commit a1f8118

File tree

1 file changed

+4
-0
lines changed
  • ssh/rootfs/etc/s6-overlay/s6-rc.d/ttyd

1 file changed

+4
-0
lines changed

ssh/rootfs/etc/s6-overlay/s6-rc.d/ttyd/run

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ options+=(-i hassio)
2323
# We want to be able to use the terminal
2424
options+=(--writable)
2525

26+
# Force explicit terminal colors to ensure readability regardless of
27+
# browser color-scheme settings (fixes invisible text on Safari/iOS)
28+
options+=(--theme '{"background":"#1e1e1e","foreground":"#d4d4d4","cursor":"#d4d4d4","cursorAccent":"#1e1e1e","selection":"rgba(255,255,255,0.3)"}')
29+
2630
# Get assigned Ingress port
2731
ingress_port=$(bashio::addon.ingress_port)
2832
options+=(-p "${ingress_port}")

0 commit comments

Comments
 (0)