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 onRemoteHostChange(
    1. String title
    )?,
  7. void onUserVariableChange(
    1. String name,
    2. String value
    )?,
  8. String? onITerm2VariableQuery(
    1. String name
    )?,
  9. void onITerm2BadgeFormatChange(
    1. String title
    )?,
  10. void onITerm2ShellIntegrationVersionChange(
    1. String title
    )?,
  11. void onITerm2Mark()?,
  12. void onITerm2ProfileChange(
    1. String title
    )?,
  13. void onFocusRequest()?,
  14. void onOpenUrl(
    1. String title
    )?,
  15. void onAttentionRequest(
    1. String title
    )?,
  16. void onNotification(
    1. String name,
    2. String value
    )?,
  17. void onMouseShapeChange(
    1. String title
    )?,
  18. void onProgressReport(
    1. TerminalProgressReport report
    )?,
  19. void onSemanticPrompt(
    1. TerminalSemanticPromptState state
    )?,
  20. int? onColorQuery(
    1. int code,
    2. int? index
    )?,
  21. TerminalColorScheme? onColorSchemeQuery()?,
  22. String? onXtVersionQuery()?,
  23. String? onEnquiry()?,
  24. void onClipboardStore(
    1. String name,
    2. String value
    )?,
  25. FutureOr<String?> onClipboardQuery(
    1. String selector
    )?,
  26. void onOutput(
    1. String title
    )?,
  27. void onResize(
    1. int width,
    2. int height,
    3. int pixelWidth,
    4. int pixelHeight,
    )?,
  28. TerminalTargetPlatform platform = TerminalTargetPlatform.unknown,
  29. TerminalInputHandler? inputHandler = defaultInputHandler,
  30. TerminalMouseHandler? mouseHandler = defaultMouseHandler,
  31. void onPrivateOSC(
    1. String code,
    2. List<String> args
    )?,
  32. bool reflowEnabled = true,
  33. Set<int>? wordSeparators,
})

Implementation

Terminal({
  this.maxLines = 1000,
  this.onBell,
  this.onTitleChange,
  this.onIconChange,
  this.onCurrentDirectoryChange,
  this.onRemoteHostChange,
  this.onUserVariableChange,
  this.onITerm2VariableQuery,
  this.onITerm2BadgeFormatChange,
  this.onITerm2ShellIntegrationVersionChange,
  this.onITerm2Mark,
  this.onITerm2ProfileChange,
  this.onFocusRequest,
  this.onOpenUrl,
  this.onAttentionRequest,
  this.onNotification,
  this.onMouseShapeChange,
  this.onProgressReport,
  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,
});