ghostty_dart_xterm 0.1.0
ghostty_dart_xterm: ^0.1.0 copied to clipboard
API-compatible adapter for package:xterm 4.0.0 on top of ghostty_dart and ghostty_dart_flutter (libghostty-vt): same Terminal and TerminalView API.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ghostty_dart_xtermThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
ghostty_dart_xterm: ^0.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ghostty_dart_xterm/core.dart';
import 'package:ghostty_dart_xterm/suggestion.dart';
import 'package:ghostty_dart_xterm/ui.dart';
import 'package:ghostty_dart_xterm/utils.dart';
import 'package:ghostty_dart_xterm/xterm.dart';