public interface ITerminalOptions extends Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ITerminalOptions.BellStyle |
static class |
ITerminalOptions.CursorStyle |
static class |
ITerminalOptions.FastScrollModifier |
static class |
ITerminalOptions.RendererType |
| Modifier and Type | Method and Description |
|---|---|
void |
setBellSound(String value)
A data uri of the sound to use for the bell when `bellStyle = 'sound'`.
|
void |
setBellStyle(ITerminalOptions.BellStyle value)
The type of the bell notification the terminal will use.
|
void |
setCursorBlink(boolean value)
Whether the cursor blinks.
|
void |
setCursorStyle(ITerminalOptions.CursorStyle value)
The style of the cursor.
|
void |
setCursorWidth(int value)
The width of the cursor in CSS pixels when `cursorStyle` is set to 'bar'.
|
void |
setDrawBoldTextInBrightColors(boolean value)
Whether to draw bold text in bright colors.
|
void |
setFastScrollModifier(ITerminalOptions.FastScrollModifier value)
The modifier key hold to multiply scroll speed.
|
void |
setFastScrollSensitivity(int number)
The scroll speed multiplier used for fast scrolling.
|
void |
setFontFamily(String fontFamily)
The font family used to render text.
|
void |
setFontSize(int number)
The font size used to render text.
|
void |
setFontWeight(int value)
The font weight used to render non-bold text.
|
void |
setFontWeightBold(int value)
The font weight used to render bold text.
|
void |
setLetterSpacing(int value)
The spacing in whole pixels between characters..
|
void |
setLineHeight(int value)
The line height used to render text.
|
void |
setMacOptionClickForcesSelection(boolean value)
Whether holding a modifier key will force normal selection behavior,
regardless of whether the terminal is in mouse events mode.
|
void |
setMacOptionIsMeta(boolean value)
Whether to treat option as the meta key.
|
void |
setMinimumContrastRatio(int value)
The minimum contrast ratio for text in the terminal, setting this will
change the foreground color dynamically depending on whether the contrast
ratio is met.
|
void |
setRendererType(ITerminalOptions.RendererType value)
The type of renderer to use, this allows using the fallback DOM renderer
when canvas is too slow for the environment.
|
void |
setRightClickSelectsWord(boolean value)
Whether to select the word under the cursor on right click, this is
standard behavior in a lot of macOS applications.
|
void |
setScreenReaderMode(boolean value)
Whether screen reader support is enabled.
|
void |
setScrollback(int value)
The amount of scrollback in the terminal.
|
void |
setScrollSensitivity(int value)
The scrolling speed multiplier used for adjusting normal scrolling speed.
|
void |
setTabStopWidth(int value)
The size of tab stops in the terminal.
|
void |
setTheme(TerminalTheme theme)
The color theme of the terminal.
|
void |
setWordSeparator(String value)
A string containing all characters that are considered word separated by the
double click to select work logic.
|
void setBellSound(String value)
void setBellStyle(ITerminalOptions.BellStyle value)
void setCursorBlink(boolean value)
void setCursorStyle(ITerminalOptions.CursorStyle value)
void setCursorWidth(int value)
void setDrawBoldTextInBrightColors(boolean value)
void setFastScrollModifier(ITerminalOptions.FastScrollModifier value)
void setFastScrollSensitivity(int number)
void setFontSize(int number)
void setFontFamily(String fontFamily)
void setFontWeight(int value)
void setFontWeightBold(int value)
void setLetterSpacing(int value)
void setLineHeight(int value)
void setMacOptionIsMeta(boolean value)
void setMacOptionClickForcesSelection(boolean value)
void setMinimumContrastRatio(int value)
void setTheme(TerminalTheme theme)
void setRendererType(ITerminalOptions.RendererType value)
void setRightClickSelectsWord(boolean value)
void setScreenReaderMode(boolean value)
void setScrollback(int value)
void setScrollSensitivity(int value)
void setTabStopWidth(int value)
void setWordSeparator(String value)
Copyright © 2020 Flowing Code. All rights reserved.