Skip to content

Commit 2ad5f96

Browse files
committed
Added the documentation to the example.md file instead.
As the examples.rst files was replaced by the md-files in the main line.
1 parent ca32056 commit 2ad5f96

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/examples.md

+20
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,26 @@ without `window_index` will use the lowest available window index.
307307

308308
```
309309

310+
## Shell per pane
311+
312+
Every pane can have its own shell or application started. This allows for usage
313+
of the ``remain-on-exit`` setting to be used properly, but also to have
314+
different shells on different panes.
315+
316+
### YAML
317+
318+
```{literalinclude} ../examples/pane-shell.yaml
319+
:language: yaml
320+
321+
```
322+
323+
### JSON
324+
325+
```{literalinclude} ../examples/pane-shell.json
326+
:language: json
327+
328+
```
329+
310330
## Set tmux options
311331

312332
Works with global (server-wide) options, session options

0 commit comments

Comments
 (0)