nicm
c4b0da5513
Support multiple occurances of the same argument. Use this for a new
...
flag -e to new-window, split-window, respawn-window, respawn-pane to
pass environment variables into the newly created process. From Steffen
Christgau in GitHub issue 1697.
2019-04-28 20:05:50 +00:00
Thomas Adam
5489796737
Merge branch 'obsd-master'
2019-04-27 20:09:07 +01:00
Thomas Adam
85f09f9a4c
Merge branch 'obsd-master'
2019-04-26 13:02:37 +01:00
Nicholas Marriott
293fd0d258
Update CHANGES and TODO.
2019-04-26 12:44:25 +01:00
nicm
dfb7bb6830
Merge hooks into options and make each one an array option. This allows
...
multiple commands to be easily bound to one hook. set-hook and
show-hooks remain but they are now variants of set-option and
show-options. show-options now has a -H flag to show hooks (by default
they are not shown).
2019-04-26 11:38:51 +00:00
nicm
f1e14f86c4
Destroy panes before options to avoid crash when forced into a mode by a
...
hook.
2019-04-26 10:24:26 +00:00
nicm
6644d209d2
Unbreak main-vertical and main-horizontal layouts.
2019-04-26 10:15:40 +00:00
Thomas Adam
7c4a2253e8
Merge branch 'obsd-master'
2019-04-25 21:02:43 +01:00
nicm
2d65bbd941
options_array_item_value cannot return NULL.
2019-04-25 19:36:59 +00:00
nicm
a609e6361a
Need a fallback for -2 for aixterm colours.
2019-04-25 19:03:43 +00:00
nicm
32a81e197b
Make options_tostring allocate its result instead of using a stack
...
buffer (needed for something in the future).
2019-04-25 18:18:55 +00:00
Thomas Adam
f2c0605d6d
Merge branch 'obsd-master'
2019-04-25 17:02:37 +01:00
nicm
1677bb0dea
Need to escape ].
2019-04-25 15:35:07 +00:00
Nicholas Marriott
dddc544b8f
Update CHANGES.
2019-04-25 13:00:32 +01:00
Thomas Adam
643eecde86
Merge branch 'obsd-master'
2019-04-25 09:02:36 +01:00
nicm
567d3e27ab
Automatically scroll if dragging to create a selection with the mouse
...
and the cursor reaches the top or bottom line.
2019-04-25 06:34:57 +00:00
Nicholas Marriott
a2e08b587a
Merge branch '2.9-rc'
2019-04-25 07:29:02 +01:00
Nicholas Marriott
cb75ec25c8
2.9 now.
2019-04-24 22:35:23 +01:00
nicm
7d06216289
Do not loop forever if there is a nonprintable character in the format.
2019-04-24 22:34:56 +01:00
Thomas Adam
4ab208ecc8
Merge branch 'obsd-master'
2019-04-24 22:09:57 +01:00
nicm
6aa0bedad2
Use bg not fg when adjusting for aixterm, from Ailin Nemui.
2019-04-24 20:32:31 +00:00
nicm
c6e39976c6
Do not loop forever if there is a nonprintable character in the format.
2019-04-24 20:27:52 +00:00
Thomas Adam
c869366133
Merge branch 'obsd-master'
2019-04-23 23:02:42 +01:00
nicm
b9022e33ea
Somehow missed these bits in last commit.
2019-04-23 20:40:03 +00:00
nicm
772b3b7a06
Indicate an array option with a flag rather than a special type so that
...
in future will not have to be strings.
2019-04-23 20:36:55 +00:00
Thomas Adam
b0d7623b7e
Merge branch 'obsd-master'
2019-04-23 13:02:37 +01:00
Thomas Adam
4a96f599f6
Merge branch 'obsd-master'
2019-04-23 11:02:36 +01:00
nicm
564e44adc6
Add -no-clear variants of copy-selection and copy-pipe which do not
...
clear the selection after copying. Make copy-pipe clear the selection by
default to be consistent with copy-selection. From Avi Halachmi.
2019-04-23 09:39:07 +00:00
nicm
6752f41c2a
Do not try to resize if the parent cell is NULL, problem reported by
...
Sunil Nimmagadda.
2019-04-23 09:15:24 +00:00
Nicholas Marriott
51c09bf2b4
Merge branch '2.9-rc'
2019-04-18 22:14:55 +01:00
Nicholas Marriott
d24a44230a
Update CHANGES for 2.9.
2019-04-18 22:12:15 +01:00
Nicholas Marriott
8d752f5aaa
Update CHANGES.
2019-04-18 22:11:46 +01:00
Nicholas Marriott
e7827f8bc2
Remove duplicate entry.
2019-04-18 14:16:19 +01:00
Thomas Adam
f980e868dd
Merge branch 'obsd-master'
2019-04-18 14:11:22 +01:00
Thomas Adam
3c1f0cfc34
Merge branch 'obsd-master'
2019-04-18 14:08:13 +01:00
nicm
5b9211d827
Copy the code to infer the option type to show-options and document it.
2019-04-18 12:22:07 +00:00
nicm
3f189945d8
Pass target client and session to load_cfg from source-file so formats
...
work. Reported by Thomas Sattler.
2019-04-18 11:07:28 +00:00
nicm
f3ab05e7cd
Update session activity on focus event, from tafryn at gmail dot com.
2019-04-18 10:11:52 +00:00
jmc
2219f7cc73
mark up punctuation-as-macro-args properly;
2019-04-17 16:34:35 +00:00
nicm
1fd3b9ec1c
Fix minimum size check on split and size of first cell on spread out
...
with a pane status line.
2019-04-17 14:44:33 +00:00
nicm
da31eddadc
Rewrite main-vertical and horizontal to use the common spread out code
...
and to handle the case where the panes won't fit into the existing
window size.
2019-04-17 14:44:14 +00:00
nicm
c660e46149
Set the window size as well as the layout size when using the preset
...
layouts.
2019-04-17 14:43:49 +00:00
nicm
e3b1358bbc
Do not let the size of the pane status screen go negative.
2019-04-17 14:41:08 +00:00
nicm
5943cd1907
Document that switch-client can change all of session,window,pane and
...
check for % in the target as well as ":.".
2019-04-17 14:39:37 +00:00
nicm
78287e27c8
Break new window and pane creation common code from various commands and
...
window.c into a separate file spawn.c.
2019-04-17 14:37:48 +00:00
Nicholas Marriott
82bc2c87a9
Add to TODO.
2019-04-17 09:10:23 +01:00
nicm
cd4c94f76b
Current window style also needs to be tested for default.
2019-04-11 09:34:22 +01:00
Nicholas Marriott
bba1809eac
Merge a number of fixes from master for layouts, mostly prompted by testing by
...
Thomas Sattler.
2019-04-11 09:26:34 +01:00
Nicholas Marriott
e6ee3e9504
Warning fixes from Carlo Marcelo Arenas Belón.
2019-04-10 19:27:09 +01:00
Nicholas Marriott
1c1ec84aa3
Fix minimum size check on split and size of first cell on spread out with a
...
pane status line.
2019-04-10 14:54:02 +01:00