pty 0.0.1

Dart native
Flutter Android iOS

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 #

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.

1
likes
80
pub points
22%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

xty50337@gmail.com

License

MIT (LICENSE)

Dependencies

executorservices, ffi

More

Packages that depend on pty