fix: increase xterm.js line height to prevent character clipping on mobile devices

This commit is contained in:
duorameng
2026-05-21 16:07:08 +08:00
parent 4076924704
commit 020f2cd583
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ function initTerminal() {
cursorBlink: false,
disableStdin: true,
fontSize: 12,
lineHeight: 1.15,
lineHeight: 1.25,
fontFamily: 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',
theme: getTheme(),
allowTransparency: true,