SwingSettings
Immutable Swing terminal UI settings.
Hosts can replace this value and call SwingTerminal.reloadSettings to rebuild metrics and repaint.
Constructors
Properties
alternate-screen visual inset around the terminal grid in pixels. The default keeps top padding at zero and uses small symmetric side insets because alternate-screen applications do not use the primary scrollback scrollbar or shell-integration prompt gutter.
cursor blink period in milliseconds. A value of zero disables cursor blinking and keeps the cursor visible.
default cursor shape configured for the session.
ordered fonts used by the complex-text renderer when font cannot display a Unicode scalar cell or grapheme cluster.
fractional font metrics hint used during painting.
packed ARGB foreground used for the linked span currently under Ctrl-hover.
vertical line height scaling factor.
primary-screen visual inset around the terminal grid in pixels. Prompt-decoration and scrollbar gutters are component chrome layered outside this margin. The default keeps top padding at zero so smooth scrolling can enter through the top edge, leaves a small left margin before the prompt gutter, reserves a stable right gutter for the overlay scrollbar, and keeps a small bottom visual spacer.
resolved terminal color palette.
paste payload transformation applied before host-bound input emission.
maximum scrollback lines retained by the terminal.
packed ARGB overlay used for the active search result.
packed ARGB overlay used for non-active search result ranges.
packed ARGB overlay used for visible terminal selection ranges.
pixels reserved between the primary-screen left margin and terminal grid when the bound session has shell-integration decorations.
packed ARGB color for failed-command rails.
whether failed-command output draws a vertical gutter rail.
failed-command rail width in pixels.
packed ARGB color for failed-command prompt dots.
packed ARGB color for normal prompt dots.
prompt-dot diameter in pixels.
whether shell-integration prompt dots are painted in the left gutter.
whether the terminal panel requests window resizing.
whether the terminal panel allows shell window manipulation.
whether the reusable terminal component may show host-provided shell suggestion popups.
text antialiasing hint used during painting.
whether future East Asian Ambiguous codepoints should occupy two terminal cells in core width policy.
whether the complex-text renderer may use installed system fonts after fallbackFonts fail. System font discovery is asynchronous and disabled by default to keep Swing startup and painting responsive.
packed ARGB color used for the visual bell edge pulse.
visual bell fade duration in milliseconds.
thickness of the visual bell edge bands in component pixels.
whether host BEL events trigger the Swing visual bell overlay.