1
0
Fork 0
forked from murx/murx

Rename pane title option to --titles

This commit is contained in:
Johannes Findeisen 2026-11-23 18:00:54 +01:00
commit f6cd548aef
6 changed files with 18 additions and 14 deletions

View file

@ -20,7 +20,7 @@ make
./murx --history 10000 work # keep up to 10,000 history lines per pane ./murx --history 10000 work # keep up to 10,000 history lines per pane
./murx --clock work # show the status bar clock ./murx --clock work # show the status bar clock
./murx --hostname work # show the hostname: prefix in window titles ./murx --hostname work # show the hostname: prefix in window titles
./murx --pane-titles work # show a title row above each pane ./murx --titles work # show a title row above each pane
./murx -l, --list-sessions # list running sessions without attaching ./murx -l, --list-sessions # list running sessions without attaching
./murx --help # logo, version, usage and shortcuts ./murx --help # logo, version, usage and shortcuts
./murx -v, --version # print the version and exit ./murx -v, --version # print the version and exit
@ -71,7 +71,7 @@ and `--clock` to show the clock on the right. Use `--murx` to show `[murx]`
on the left when `--cwd` is not enabled; the directory takes precedence if on the left when `--cwd` is not enabled; the directory takes precedence if
both are supplied. Use `--hostname` to show the `hostname:` prefix in window both are supplied. Use `--hostname` to show the `hostname:` prefix in window
names and the outer terminal title. These display options are disabled by names and the outer terminal title. These display options are disabled by
default. Use `--pane-titles` to show the title row above each pane. These default. Use `--titles` to show the title row above each pane. These
options set the initial values for a new session. The `Configuration...` menu options set the initial values for a new session. The `Configuration...` menu
can change them in a running session (see [Menu](#menu)). To restore the can change them in a running session (see [Menu](#menu)). To restore the
previous default display, use previous default display, use
@ -388,7 +388,7 @@ Hard-coded:
A root shell that does not run the hooks cannot report its privilege change. A root shell that does not run the hooks cannot report its privilege change.
- Pane borders are thin box-drawing lines (`─`, `│`, `┬`, `┼`, ...) in - Pane borders are thin box-drawing lines (`─`, `│`, `┬`, `┼`, ...) in
`colour8`, drawn on the terminal's default background. Enable title rows `colour8`, drawn on the terminal's default background. Enable title rows
with `--pane-titles` or the Configuration menu. Each title row shows with `--titles` or the Configuration menu. Each title row shows
`[N: title]`. On the active pane, brackets and numbers use `colour7`, the `[N: title]`. On the active pane, brackets and numbers use `colour7`, the
separator uses `colour11`, and the title uses `colour15`. Inactive panes separator uses `colour11`, and the title uses `colour15`. Inactive panes
use `colour8`, `colour3`, and `colour12`. use `colour8`, `colour3`, and `colour12`.

View file

@ -1,3 +1,7 @@
# Unreleased
- Renamed `--pane-titles` to `--titles`.
# murx 1.0.3 released # murx 1.0.3 released
**November 23, 2026** **November 23, 2026**

6
murx.1
View file

@ -11,7 +11,7 @@ murx \- small persistent terminal multiplexer
.RB [ \-\-clock ] .RB [ \-\-clock ]
.RB [ \-\-murx ] .RB [ \-\-murx ]
.RB [ \-\-hostname ] .RB [ \-\-hostname ]
.RB [ \-\-pane-titles ] .RB [ \-\-titles ]
.RB [ \-\- ] .RB [ \-\- ]
.RI [ session ] .RI [ session ]
.br .br
@ -92,7 +92,7 @@ is not enabled. The directory takes precedence if both options are supplied.
.B \-\-hostname .B \-\-hostname
Show the hostname: prefix in window names and the outer terminal title. Show the hostname: prefix in window names and the outer terminal title.
.TP .TP
.B \-\-pane-titles .B \-\-titles
Show the title row above each pane. Pane titles are off by default. Show the title row above each pane. Pane titles are off by default.
.TP .TP
.BR \-h ", " \-\-help .BR \-h ", " \-\-help
@ -278,7 +278,7 @@ The outer terminal title follows [murx] program, or [murx] hostname:program
with --hostname. Its [murx] prefix is always present; --murx controls only with --hostname. Its [murx] prefix is always present; --murx controls only
the status label. the status label.
Hostnames are shortened at the first dot. Hostnames are shortened at the first dot.
With \-\-pane-titles enabled, each pane has a title row above its content showing With \-\-titles enabled, each pane has a title row above its content showing
[R N: title R], where N is the pane number. Active pane titles use colour7 [R N: title R], where N is the pane number. Active pane titles use colour7
brackets/numbers, colour11 separator and colour15 title; inactive panes use brackets/numbers, colour11 separator and colour15 title; inactive panes use
colour8, colour3 and colour12. Toggle title rows in the Configuration menu. colour8, colour3 and colour12. Toggle title rows in the Configuration menu.

4
murx.c
View file

@ -4994,7 +4994,7 @@ static void print_help(FILE *out) {
help_row(out, "--clock", "show clock in status bar"); help_row(out, "--clock", "show clock in status bar");
help_row(out, "--murx", "show [murx] in status bar unless --cwd is set"); help_row(out, "--murx", "show [murx] in status bar unless --cwd is set");
help_row(out, "--hostname", "show hostname: prefix in window titles"); help_row(out, "--hostname", "show hostname: prefix in window titles");
help_row(out, "--pane-titles", "show the title row above each pane (default: off)"); help_row(out, "--titles", "show the title row above each pane (default: off)");
fputs("\n" fputs("\n"
"Without -s or -c, an existing session keeps its position and color.\n" "Without -s or -c, an existing session keeps its position and color.\n"
@ -5095,7 +5095,7 @@ int main(int argc, char **argv) {
display.show_murx = 1; display.show_murx = 1;
} else if (strcmp(option, "--hostname") == 0) { } else if (strcmp(option, "--hostname") == 0) {
display.show_hostname = 1; display.show_hostname = 1;
} else if (strcmp(option, "--pane-titles") == 0) { } else if (strcmp(option, "--titles") == 0) {
display.show_pane_titles = 1; display.show_pane_titles = 1;
} else if (strcmp(option, "-p") == 0 || strcmp(option, "--prefix") == 0) { } else if (strcmp(option, "-p") == 0 || strcmp(option, "--prefix") == 0) {
if (argi >= argc || !parse_prefix(argv[argi], &prefix)) { if (argi >= argc || !parse_prefix(argv[argi], &prefix)) {

View file

@ -26,10 +26,10 @@ package() {
} }
sha512sums=" sha512sums="
f39b354e08d4200f604ddf699d918eb39481219f5eec8a66369c83bd0bcad3121e09584d3fefc1749a85b31fffef5609359dc44fa4d5bcce84e5798483622f58 murx.c bebecd0e6129ea313febe21a49e2721cc3e0409571f3db8bfb7fa0e36dec9bec6bb339b50d857e1a05bb4a22829bc26f1ab387d5e33ad8a1e71d059545cdb443 murx.c
ac75bfe596fae665ba882a10f5d16551bdd02cd601b786364763ac74dbc651c386d3a464eb63e0344354b953611629135190633e3b8ff3a8ef0f0849d60a3f7b Makefile ac75bfe596fae665ba882a10f5d16551bdd02cd601b786364763ac74dbc651c386d3a464eb63e0344354b953611629135190633e3b8ff3a8ef0f0849d60a3f7b Makefile
84713fc8e6b244292bdd53d6071578cde67b9fe136d85e4b4809eceab53dbb6d86f33fd846ec87eeccefdbd006744ca7898b677f43b3447a1c357b8a6a2f8301 murx.1 9a7f4aa4baf95bb53ccb0fbc51d99bb685c201d182264d981ae6af63da2e33c181030e49b881b02a73bf9d54e2a6ece6db2a4b38962434c672c968882ab5938c murx.1
167090193501e8f2fbe1a6c34369b7ee556ca5c84207b54e8952b19b44ef6d4eac89c03ec450956284d6754dd3c00ffa2241976545909d9504e30802c9c28e26 MURX-README.md a89076262e2b5b0901d377a76c175b8f2bb213c55ceaa59ce9ccfd8e498fc12e4543e599e106ed6fe1bda3d1bcaa1cb9e0e9687fff5ea28d772795123682743c MURX-README.md
2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE 2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE
4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS 4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS
" "

View file

@ -8,10 +8,10 @@ url='https://codeberg.org/armin/murx'
license=('Apache-2.0') license=('Apache-2.0')
depends=('glibc') depends=('glibc')
source=('murx.c' 'Makefile' 'murx.1' 'MURX-README.md' 'LICENSE' 'AUTHORS') source=('murx.c' 'Makefile' 'murx.1' 'MURX-README.md' 'LICENSE' 'AUTHORS')
sha256sums=('da9a5d8451c396f45d5c1839ca762d066fa531b42339db81d1e478b9ad6559f0' sha256sums=('464b37bb35d329bf40ef77175e3670fbe7dfc0b73d58740362b93569dc2fabed'
'78a9c19c212e8038422e1bb4bb96d9b25eb19ad1359489cd32edf9e1a76638b2' '78a9c19c212e8038422e1bb4bb96d9b25eb19ad1359489cd32edf9e1a76638b2'
'b0965c6c8cd73cef1e578e4a8295df0899b43f20ab9a9649150790a3b1434c1b' '06633deeeaf1f3eda60a2463c393b3c4a9ef1c5fe08d28fb5357d5ec18dbec7c'
'7cb95cc829fd2f9756cbb611aa4ddb8dc97853ccf360efd18d1423628e484aa1' '2b0d69adee164b43e5f099b2bb3a33b302ca5c21e8c99ff0f838d486c53f6793'
'31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4' '31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4'
'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb') 'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb')