Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

tmux.Pane.Clear

Go
  • Python
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
tmux
Declared in
Pane
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/pane_input.go
Other languages
Python Ruby Lua TypeScript Rust Java .NET C++ Swift
Clear ( ctx : context.Context ) → error
method [source]
method [source]
Clear

Clear types the text "reset" and then Enter into the receiver's exact linked pane, the way a person at the keyboard would. Whatever is running reads it: a shell runs reset(1), and an editor receives the word. Use Pane.Reset or Pane.ClearHistory to act on the pane itself rather than on its program. A transport error may leave the text delivered without Enter.

In other ports Clear a pane by running the shell's reset
  • Python libtmux.Pane.clear
  • Ruby No source-verified Ruby equivalent is recorded for this operation.
  • Lua No source-verified Lua equivalent is recorded for this operation.
  • TypeScript no equivalent on Pane
  • Rust no equivalent on Pane
  • Java no equivalent on Pane
  • .NET LibTmux.Pane.ClearAsync
  • C++ no equivalent on Pane
  • Swift no equivalent on Pane

0 declared, 0 inherited

Esc

Type to search.