ianvs_terminal_core 0.1.0 copy "ianvs_terminal_core: ^0.1.0" to clipboard
ianvs_terminal_core: ^0.1.0 copied to clipboard

PlatformmacOS

Embeddable macOS Flutter terminal with a native PTY runtime, viewport, themed bottom panel, and session lifecycle APIs.

example/ianvs_terminal_core_example.dart

import 'package:flutter/services.dart';
import 'package:ianvs_terminal_core/ianvs_terminal_core.dart';

TerminalRuntimeController createTerminalRuntime() {
  return TerminalRuntimeController.native(
    copyToClipboard: (text) => Clipboard.setData(ClipboardData(text: text)),
    readClipboard: () async =>
        (await Clipboard.getData('text/plain'))?.text ?? '',
  );
}
0
likes
140
points
35
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Embeddable macOS Flutter terminal with a native PTY runtime, viewport, themed bottom panel, and session lifecycle APIs.

Repository (GitHub)
View/report issues

Topics

#terminal #macos #pty #emulator #flutter

License

BSD-3-Clause (license)

Dependencies

code_assets, crypto, ffi, fixnum, flutter, hooks, protobuf

More

Packages that depend on ianvs_terminal_core