pty

GitHub repo size GitHub issues GitHub pull requests

Pty for Dart and Flutter. Provides the ability to create processes with pseudo terminal file descriptors.

Status

PlatformJIT(Debug)AOT(Release)
WindowsWIPWIP
Linux x64CrashPassed
Linux x86Not testedNot tested
macOSNot testedNot tested

Usage

A simple usage example:

import 'package:pty/pty.dart';

void main() async {
  final pty = Pty();

  pty.resize(80, 25);

  final proc = pty.exec('vi');

  final data = await pty.read();
  print(data.length);

  proc.kill();

  await proc.wait();
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

License

This project is licensed under an MIT license.

Libraries

pty