Companion

object Companion

Published bounds and defaults for all terminal configuration fields.

These constants are the single source of truth shared by:

  • TerminalConfig.init validity assertions.

  • TerminalWorkspaceConfigManager TOML clamping before constructing a config.

  • The standalone settings dialog spinner min/max values.

If you need to change a limit or default, change it here and it will be reflected everywhere automatically.

Properties

Link copied to clipboard
const val COLUMNS_MAX: Int = 1000
Link copied to clipboard
const val COLUMNS_MIN: Int = 10
Link copied to clipboard
Link copied to clipboard
const val CURSOR_BLINK_MIN: Int = 0

Zero disables blinking.

Link copied to clipboard
const val DEFAULT_AUDIBLE_BELL: Boolean = true
Link copied to clipboard
const val DEFAULT_COLUMNS: Int = 100
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val DEFAULT_FONT_SIZE: Int = 16
Link copied to clipboard
const val DEFAULT_LINE_HEIGHT: Float = 1.0f
Link copied to clipboard
Link copied to clipboard
const val DEFAULT_ROWS: Int = 30
Link copied to clipboard
const val DEFAULT_SCROLLBACK_LINES: Int = 1000
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val DEFAULT_VISUAL_BELL: Boolean = true
Link copied to clipboard
const val FONT_SIZE_MAX: Int = 56
Link copied to clipboard
const val FONT_SIZE_MIN: Int = 10
Link copied to clipboard
const val LINE_HEIGHT_MAX: Float = 1.5f
Link copied to clipboard
const val LINE_HEIGHT_MIN: Float = 0.7f
Link copied to clipboard
const val ROWS_MAX: Int = 500
Link copied to clipboard
const val ROWS_MIN: Int = 10
Link copied to clipboard
const val SCROLLBACK_MAX: Int
Link copied to clipboard
const val SCROLLBACK_MIN: Int = 0