tmux_buffer:rename/3
Rename one explicit name. tmux 3.3 refuses an occupied destination; 3.4+ replaces it. This is native collision behavior, not an atomic absence check. Identical input names return same_buffer_name before I/O, avoiding unsafe legacy tmux paths. New names retain native cleaning rules; see list/1 for stored names. The same observed 3.3/3.3a missing-name preflight and race as delete/2 apply.
Source and package
- Qualified name
-
tmux_buffer: rename/3 - Declared in
tmux_buffer- Package
- libtmux_erlang
- Source
- apps/libtmux_erlang/src/tmux_buffer.erl
- rename(Server, Old, New) -spec rename(tmux
_server: (), binary(), binary()) -> {ok, tmuxt _operation: ()} | {error, map()}.completed
tmux command#
The tmux commands behind rename/3.
tmux C API#
The C declarations in tmux that implement these commands.