Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-ocaml latest

Operations.capture_text

Capture inclusive visible rows through an operation-owned temporary file. Require 0 <= start <= end_ < Pane.height pane; scrollback is excluded. Retained bytes survive client close. The scratch directory must share the daemon filesystem.

Source and package
Qualified name
Libtmux.Operations.capture_text
Module
Libtmux
Declared in
Operations
Package
libtmux
Source
lib/libtmux.mli
val capture_text : ?scratch_dir:string -> Pane.t -> start:int -> end_:int -> Captured_text.t Command.t

Public owner: Libtmux

Parameters
Esc

Type to search.

Reference previewOpen reference