From 935a16e1ba46cf6c37c28943d28dc8a2382f5224 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 21 Aug 2024 05:06:45 +0000 Subject: [PATCH] Mention that load- and save-buffer can use stdin, from Ramon Fischer. --- usr.bin/tmux/tmux.1 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1 index 2008f393d48..80d137b444b 100644 --- a/usr.bin/tmux/tmux.1 +++ b/usr.bin/tmux/tmux.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.949 2024/08/21 05:03:13 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.950 2024/08/21 05:06:45 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -6616,6 +6616,11 @@ is given, the buffer is also sent to the clipboard for using the .Xr xterm 1 escape sequence, if possible. +If +.Ar path +is +.Ql - , +the contents are read from stdin. .Tg pasteb .It Xo Ic paste-buffer .Op Fl dpr @@ -6653,6 +6658,11 @@ Save the contents of the specified paste buffer to The .Fl a option appends to rather than overwriting the file. +If +.Ar path +is +.Ql - , +the contents are read from stdin. .It Xo Ic set-buffer .Op Fl aw .Op Fl b Ar buffer-name -- 2.20.1