Terminal constructor
Terminal({
- int maxLines = 1000,
- void onBell()?,
- void onTitleChange(
- String title
- void onIconChange(
- String title
- void onOutput(
- String title
- void onResize()?,
- TerminalTargetPlatform platform = TerminalTargetPlatform.unknown,
- TerminalInputHandler? inputHandler = defaultInputHandler,
- TerminalMouseHandler? mouseHandler = defaultMouseHandler,
- void onPrivateOSC()?,
- bool reflowEnabled = true,
- Set<
int> ? wordSeparators,
Implementation
Terminal({
int maxLines = 1000,
this.onBell,
this.onTitleChange,
this.onIconChange,
this.onOutput,
this.onResize,
this.platform = TerminalTargetPlatform.unknown,
this.inputHandler = defaultInputHandler,
this.mouseHandler = defaultMouseHandler,
this.onPrivateOSC,
this.reflowEnabled = true,
this.wordSeparators,
}) : maxLines = max(maxLines, _defaultViewHeight);