feat: add terminal line height setting (#712)
Add a configurable line height multiplier (1-3) to terminal appearance settings under Typography, persisted and applied to all terminal panes.
This commit is contained in:
@@ -104,6 +104,7 @@ export function getDefaultSettings(homedir: string): GlobalSettings {
|
||||
terminalFontSize: 14,
|
||||
terminalFontFamily: defaultTerminalFontFamily(),
|
||||
terminalFontWeight: DEFAULT_TERMINAL_FONT_WEIGHT,
|
||||
terminalLineHeight: 1,
|
||||
terminalCursorStyle: 'bar',
|
||||
terminalCursorBlink: true,
|
||||
terminalThemeDark: 'Ghostty Default Style Dark',
|
||||
|
||||
@@ -575,6 +575,7 @@ export type GlobalSettings = {
|
||||
terminalFontSize: number
|
||||
terminalFontFamily: string
|
||||
terminalFontWeight: number
|
||||
terminalLineHeight: number
|
||||
terminalCursorStyle: 'bar' | 'block' | 'underline'
|
||||
terminalCursorBlink: boolean
|
||||
terminalThemeDark: string
|
||||
|
||||
Reference in New Issue
Block a user