tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

option tmux3.7c

lock-after-time

Lock the session (like the lock-session command) after number seconds of inactivity.

Scope
session
Type
Number
Default
0
Values
0 to 2147483647 seconds
Set
set-option lock-after-time value
Read
show-options lock-after-time

Description#

Lock the session (like the lock-session command) after number seconds of inactivity. The default is not to lock (set to 0).

Releases#

Source#

Defined in
options-table.c:709
C source reference
options_table
CLI Manual
Original manual entry

Used by#

Library documentation that names this option.

Rust
client.Client.lock, options.generated.LOCK_AFTER_TIME
Go
tmux.GlobalSessionScope.SetLockAfterTime, tmux.Session.SetLockAfterTime, tmux.SessionOptionValues.LockAfterTime
Esc

Type to search.

Reference preview Open reference