fix(terminal): stabilize Android mobile keyboard input (#325)

* fix(terminal): stabilize android mobile keyboard input

* fix(terminal): add disableStdin option to ghostty config

* refactor(terminal): remove duplicated mobile input handlers
This commit is contained in:
shekohex
2026-02-06 00:39:07 +02:00
committed by GitHub
parent 62b5ddd426
commit b17fb60393
3 changed files with 498 additions and 134 deletions
+3 -1
View File
@@ -98,7 +98,8 @@ export function getGhosttyTerminalOptions(
fontFamily: string,
fontSize: number,
theme: TerminalTheme,
ghostty: Ghostty
ghostty: Ghostty,
disableStdin = false
) {
const powerlineFallbacks =
'"JetBrainsMonoNL Nerd Font", "FiraCode Nerd Font", "Cascadia Code PL", "Fira Code", "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Courier New", monospace';
@@ -136,5 +137,6 @@ export function getGhosttyTerminalOptions(
},
scrollback: 50_000,
ghostty,
disableStdin,
};
}