From fc45daadf794a55f5ccd0eacbc9c686b70b0ad4f Mon Sep 17 00:00:00 2001 From: toonn Date: Tue, 31 Dec 2019 14:52:08 +0100 Subject: Refactor handle_multiplexer Split the method into name changing and resetting methods. `screen -Q` is relatively new so resetting the screen title won't work on systems with an older version, macOS for example. Fixes #1739 --- doc/ranger.1 | 4 ++-- doc/ranger.pod | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/ranger.1 b/doc/ranger.1 index 5324ccc3..ceb44098 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.9.2" "2019-12-30" "ranger manual" +.TH RANGER 1 "ranger-1.9.2" "2019-12-31" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -1176,7 +1176,7 @@ Requires the python-bidi pip package. Set a window title? Updates both the \fI\s-1WM_NAME\s0\fR and \fI\s-1WM_ICON_NAME\s0\fR properties. .IP "update_tmux_title [bool]" 4 .IX Item "update_tmux_title [bool]" -Set the tmux \fIwindow-name\fR to \*(L"ranger\*(R"? +Set the tmux/screen \fIwindow-name\fR to \*(L"ranger\*(R"? .IP "use_preview_script [bool] " 4 .IX Item "use_preview_script [bool] " Use the preview script defined in the setting \fIpreview_script\fR? diff --git a/doc/ranger.pod b/doc/ranger.pod index a7f07ffc..b2ce21e1 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -1266,11 +1266,7 @@ Set a window title? Updates both the I and I properties. =item update_tmux_title [bool] -Set the tmux I to "ranger"? - -=item update_screen_title [bool] - -Set the title to "ranger" in the screen program? +Set the tmux/screen I to "ranger"? =item use_preview_script [bool] -- cgit 1.4.1-2-gfad0