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-lisp latest

libtmux.control:with-connection

Bind NAME to a control connection and close the original resource on exit. Evaluate CLIENT, SESSION and OPEN-CONNECTION options once. BODY accepts declarations and returns all its values. Rebinding NAME cannot redirect cleanup. After normal return, propagate cleanup failure; during an error or nonlocal exit, preserve that exit and record cleanup failure on the connection.

Source and package
Qualified name
libtmux.control:with-connection
Declared in
libtmux.control
Package
libtmux/control
Source
src/control.lisp
(with-connection (name client session &rest options) &body body)

Public owner: libtmux.control

Esc

Type to search.

Reference previewOpen reference