Skip to main content

xterm_plus 4.1.0 copy "xterm_plus: ^4.1.0" to clipboard
xterm_plus: ^4.1.0 copied to clipboard

Fast and fully-featured terminal emulator for Flutter applications with mobile and desktop support.

xterm_plus #

Package version GitHub repo size GitHub issues GitHub pull requests

xterm_plus is a fast and fully-featured terminal emulator for Flutter applications, with support for mobile and desktop platforms. It is a maintained fork of xterm.dart.

Requires Flutter >=3.47.0 and material_ui.

Features #

  • Works out of the box with mobile and desktop support.
  • Fast rendering with glyph caching and speculative prediction overlay.
  • Wide character support for CJK and emojis.
  • Terminal color & scheme queries: OSC 4/10/11/12, CSI ? 996 n, DEC Mode 2031, and DECRQM.
  • Frontend independent: the terminal core (package:xterm_plus/core.dart) runs in pure Dart without Flutter.

Getting Started #

1. Add xterm_plus to your pubspec.yaml:

dependencies:
  xterm_plus: ^4.1.0

2. Create the terminal and listen to output:

import 'package:xterm_plus/xterm_plus.dart';

final terminal = Terminal();
terminal.onOutput = (output) {
  print('output: $output');
};

3. Attach the terminal to TerminalView:

TerminalView(terminal)

4. Write data to the terminal:

terminal.write('Hello, world!');

Examples #

Issues & Contributions #

Please file feature requests and bugs at the issue tracker.

License #

This project is licensed under the MIT License.

0
likes
150
points
--
downloads

Documentation

API reference

Publisher

verified publisherlolli.tech

Fast and fully-featured terminal emulator for Flutter applications with mobile and desktop support.

Repository (GitHub)
View/report issues

Topics

#terminal #xterm #emulator #ssh #flutter

License

MIT (license)

Dependencies

collection, convert, equatable, flutter, material_ui, meta, quiver, zmodem

More

Packages that depend on xterm_plus