Commit Diff


commit - 5b3e45c115c5ee6143d5a16ba83c87da3c9903f8
commit + 4702c8ffa1bcbd85ffb228c6f0c7ab10f2c94314
blob - d0e0c6de1ce07894a690b437eb54e4db869c8068
blob + 085b2808d0a9aaa424096804b7b838627b9ea04d
--- ChangeLog
+++ ChangeLog
@@ -1,4 +1,6 @@
 2022-01-02  Omar Polo  <op@omarpolo.com>
+
+	* defaults.c (config_setvari): rename `set-title' to `change-title'.  The old name will still be supported for a while to ease backwards compatibility.
 
 	* cmd.c (cmd_kill_telescope): ask yorn (yes or no) before quitting telescope.
 
blob - 9051eaa16524522c315e8b647f2e8e68c8f71976
blob + d6fb7aec2d7e9d1db37257ae751d388afe7fab4a
--- defaults.c
+++ defaults.c
@@ -526,7 +526,7 @@ config_setvari(const char *var, int val)
 		dont_wrap_pre = !!val;
 	} else if (!strcmp(var, "emojify-link")) {
 		emojify_link = !!val;
-	} else if (!strcmp(var, "set-title")) {
+	} else if (!strcmp(var, "change-title") || !strcmp(var, "set-title")) {
 		set_title = !!val;
 	} else if (!strcmp(var, "autosave")) {
 		autosave = val;
blob - 74d95be55bd2c356266786cde9e0d6cd842815eb
blob + 345871a25dacaba9114473c1400ccfc7e81cb47c
--- telescope.1
+++ telescope.1
@@ -1,4 +1,4 @@
-.\" Copyright (c) 2021 Omar Polo <op@omarpolo.com>
+.\" Copyright (c) 2021, 2022 Omar Polo <op@omarpolo.com>
 .\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
@@ -11,7 +11,7 @@
 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.Dd $Mdocdate: November 29 2021$
+.Dd $Mdocdate: January 02 2022$
 .Dt TELESCOPE 1
 .Os
 .Sh NAME
@@ -250,6 +250,10 @@ If greater than zero, save the session after the speci
 seconds after some events happens
 .Pq new or closed tabs, visited a link ...
 Defaults to 20.
+.It change-title
+.Pq integer
+If nonzero, set the terminal title to the page title.
+Defaults to 1.
 .It dont-wrap-pre
 .Pq integer
 If nonzero, don't wrap preformatted blocks.
@@ -301,10 +305,6 @@ Defaults to
 If nonzero, enable
 .Ic olivetti-mode
 Defaults to 1.
-.It set-title
-.Pq integer
-If nonzero, set the terminal title to the page title.
-Defaults to 1.
 .It tab-bar-show
 .Pq integer
 If tab-bar-show is -1 hide the tab bar permanently, if 0 show it