Commit c0fd6ff
committed
Spawn tmux fg job in bg window when height is 0
When the requested height for a tmux split is 0 and that the spawned job
will be able to call back, spawn the foreground job in a new background
window, just as if it were a background job
Note that setting the height to 0 behaves gracefully even when no
callback mechanism is available since "split-window -l 0" creates a two
lines split (with tmux 2.5 to 2.7 at least)1 parent 1ea256e commit c0fd6ff
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments