pty 0.0.1 copy "pty: ^0.0.1" to clipboard
pty: ^0.0.1 copied to clipboard

outdated

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

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 #

Platform JIT(Debug) AOT(Release)
Windows WIP WIP
Linux x64 Crash Passed
Linux x86 Not tested Not tested
macOS Not tested Not 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.

7
likes
0
pub points
49%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

executorservices, ffi

More

Packages that depend on pty