Core LibraryunreleasedAPI reference

Choose documentation 3

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.

MoreLess about this notice

function LibTmux.jl

set_environment

Source and package
Qualified name
LibTmux.set_environment
Module
LibTmux
Package
LibTmux
Source
src/configuration.jl

Methods

set_environment( connection::LibTmux.ControlConnection, scope, name::AbstractString, value::AbstractString; hidden, kwargs..., )[source]

Set a literal environment value through the existing control connection and return its ControlResult. Scope is :global or an exact SessionRef. Empty values, format punctuation and line breaks remain data. The daemon generation stays pinned; cancellation after submission does not undo the write. Timeout and cancellation follow the control creation methods.

set_environment(connection::ControlConnection, scope, name, value; hidden=false, kwargs...)

set_environment( server::LibTmux.Server, scope, name::AbstractString, value::AbstractString; hidden, kwargs..., )[source]

Set a literal environment value at :global or SessionRef; return CommandResult.

Recorded calls

source calls
No call edges in the Julia model.

The Julia reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.set_environment.

tmux command

task material

The tmux commands behind set_environment.

tmux C API

task material

The C declarations in tmux that implement these commands.

Esc
Search in

Type to search.

Reference previewOpen reference