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

Swift API

Swift documentation

Server.sendKeys(_:to:literally:)

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/PaneInteraction.swift
Other languages
PythonRubyLuaTypeScriptRustGo Java .NETC++
sendKeys(_:to:literally:) ( keys : [String] , to : Pane , literally : Bool ) → ()
methodasync [source]
methodasync [source]
sendKeys(_:to:literally:)

Sends keys to a pane.

  • Parameters:
    • keys: what to send, one argument per key or literal string.
    • pane: the pane to send them to.
    • literally: sends the text as characters rather than letting tmux read names like Enter or C-c out of it. Use it for anything that came from a user.
Raises

Discussed in Pane interaction

In other ports Send keystrokes to a pane

0 declared, 0 inherited

Esc

Type to search.