Terminal constructor

Terminal({
  1. int maxLines = 1000,
  2. void onBell()?,
  3. void onTitleChange(
    1. String title
    )?,
  4. void onIconChange(
    1. String title
    )?,
  5. void onCurrentDirectoryChange(
    1. String title
    )?,
  6. void onSemanticPrompt(
    1. TerminalSemanticPromptState state
    )?,
  7. int? onColorQuery(
    1. int code,
    2. int? index
    )?,
  8. TerminalColorScheme? onColorSchemeQuery()?,
  9. String? onXtVersionQuery()?,
  10. String? onEnquiry()?,
  11. void onClipboardStore(
    1. String selector,
    2. String text
    )?,
  12. FutureOr<String?> onClipboardQuery(
    1. String selector
    )?,
  13. void onOutput(
    1. String title
    )?,
  14. void onResize(
    1. int width,
    2. int height,
    3. int pixelWidth,
    4. int pixelHeight,
    )?,
  15. TerminalTargetPlatform platform = TerminalTargetPlatform.unknown,
  16. TerminalInputHandler? inputHandler = defaultInputHandler,
  17. TerminalMouseHandler? mouseHandler = defaultMouseHandler,
  18. void onPrivateOSC(
    1. String code,
    2. List<String> args
    )?,
  19. bool reflowEnabled = true,
  20. Set<int>? wordSeparators,
})

Implementation

Terminal({
  this.maxLines = 1000,
  this.onBell,
  this.onTitleChange,
  this.onIconChange,
  this.onCurrentDirectoryChange,
  this.onSemanticPrompt,
  this.onColorQuery,
  this.onColorSchemeQuery,
  this.onXtVersionQuery,
  this.onEnquiry,
  this.onClipboardStore,
  this.onClipboardQuery,
  this.onOutput,
  this.onResize,
  this.platform = TerminalTargetPlatform.unknown,
  this.inputHandler = defaultInputHandler,
  this.mouseHandler = defaultMouseHandler,
  this.onPrivateOSC,
  this.reflowEnabled = true,
  this.wordSeparators,
});