TerminalPtyLibraryBase constructor
TerminalPtyLibraryBase({})
Spawns a process in a pseudo-terminal. The arguments have the same meaning
as in Process.start.
ackRead indicates if the pty should wait for a call to PtyLibrary.ackRead before sending the next data.
Implementation
TerminalPtyLibraryBase({
this.executable = "sh",
this.workingDirectory,
String? libraryPtyPath,
List<String>? arguments,
this.environment,
this.rows = 25,
this.columns = 80,
this.isAckRead = false,
}) {
if (arguments != null) {
this.arguments = arguments;
} else {
this.arguments = [];
}
if (libraryPtyPath != null) {
this.libraryPtyPath = libraryPtyPath;
} else {
this.libraryPtyPath = TerminalPtyLibraryBase.defaultLibraryPtyPath;
}
}