Thomas Adam
03945276f7
Merge branch 'obsd-master'
2019-06-20 09:02:26 +01:00
nicm
ae541287d3
Expand command formats in %if and move the config file loading later (to
...
when the first client has identified) so all the client formats are
available, fixes problems reported by Thomas Sattler.
2019-06-20 06:51:36 +00:00
Thomas Adam
057c04e32a
Merge branch 'obsd-master'
2019-06-11 15:02:26 +01:00
nicm
1a9f9c09b4
Do not resize panes unless they are in an attached, active window. From
...
Morten M Neergaard in GitHub issue 1782.
2019-06-11 13:09:00 +00:00
Thomas Adam
e13c1e5320
Merge branch 'obsd-master'
2019-06-07 23:02:26 +01:00
nicm
e37f34facc
Do not load the config file if the server is exiting because it failed
...
to start, otherwise commands like lsk which start the server again can
end up looping infinitely. Also make the first client exit
correctly. Problem reported by Wael M Nasreddine.
2019-06-07 20:09:17 +00:00
Thomas Adam
463bd8abb9
Merge branch 'obsd-master'
2019-05-25 18:41:51 +01:00
nicm
f8d3d247d8
Merge cmd_list_parse into cmd-parse.y so it can use the new alias
...
processing code.
2019-05-25 07:18:20 +00:00
Thomas Adam
98ee93bde3
Merge branch 'obsd-master'
2019-05-20 15:02:40 +01:00
nicm
e128c7fcd8
Replace the various identical error callbacks with a single one in cmd-queue.c.
2019-05-20 11:46:06 +00:00
Thomas Adam
699d9d2fac
Merge branch 'obsd-master'
2019-05-12 21:02:27 +01:00
nicm
00f19b7f91
Fix some indentation and dead assignments.
2019-05-12 18:16:33 +00:00
Thomas Adam
4bc45fc95a
Merge branch 'obsd-master'
2019-05-08 21:02:25 +01:00
nicm
f9682d2e55
Add a flag to redraw only the overlay, and remove the overlay on resize.
2019-05-08 18:07:12 +00:00
Thomas Adam
b24d7d9c95
Merge branch 'obsd-master'
2019-05-07 23:02:30 +01:00
nicm
89db309e10
Move around the display-panes identify code to make it a bit more
...
generic and hide the display-panes specific bits into
cmd-display-panes.c.
2019-05-07 20:01:41 +00:00
Thomas Adam
d9767b8112
Merge branch 'obsd-master'
2019-05-07 13:02:27 +01:00
nicm
85a9c2f52b
Treat keys in identify mode (display-panes) specially and handle them
...
immediately rather than queuing them (the command can block the queue
which means they were not being seen until it finished which was too
late). Reported by denis@ and solene@, ok solene@.
2019-05-07 11:24:03 +00:00
Thomas Adam
d4177e954c
Merge branch 'obsd-master'
2019-05-03 23:02:28 +01:00
nicm
9f75635596
Allow panes to be empty (no command), output can be piped to them with
...
split-window or display-message -I.
2019-05-03 20:44:24 +00:00
Thomas Adam
4d505574dc
Merge branch 'obsd-master'
2019-05-03 21:02:26 +01:00
nicm
4097257bef
Do not store the mouse position we calculate as the start of a drag back
...
into the mouse event that later code uses, it has been adjusted and they
should use the original position. GitHub issue 1710.
2019-05-03 18:42:40 +00:00
Thomas Adam
a14512e23e
Merge branch 'obsd-master'
2019-05-03 19:02:27 +01:00
nicm
fc3d85e34b
Fix mouse positioning when the pane is not entirely visible.
2019-05-03 16:51:29 +00:00
Thomas Adam
fff85d854e
Merge branch 'obsd-master'
2019-05-03 17:04:11 +01:00
nicm
33298d6df6
Instead of processing keys all together, put them up on the client
...
command queue so they are ordered correctly with the commands that they
execute.
2019-05-03 14:51:30 +00:00
Thomas Adam
3c1f0cfc34
Merge branch 'obsd-master'
2019-04-18 14:08:13 +01:00
nicm
f3ab05e7cd
Update session activity on focus event, from tafryn at gmail dot com.
2019-04-18 10:11:52 +00:00
Thomas Adam
6ac84585e6
Merge branch 'obsd-master'
2019-03-25 20:02:38 +00:00
nicm
d21f8ecc13
Add StatusDefault binding for the mouse on any otherwise unassigned
...
parts of the status line, from Avi Halachmi.
2019-03-25 18:59:55 +00:00
Thomas Adam
a07ad6b5a3
Merge branch 'obsd-master'
2019-03-25 15:57:47 +00:00
nicm
517d673dbe
Ignore mouse on status line which are not part of a range, GitHub issue 1649.
2019-03-25 09:22:09 +00:00
Thomas Adam
962f255ee8
Merge branch 'obsd-master'
2019-03-18 21:24:49 +00:00
nicm
979313832c
Extend the #[] style syntax and use that together with previous format
...
changes to allow the status line to be entirely configured with a single
option.
Now that it is possible to configure their content, enable the existing
code that lets the status line be multiple lines in height. The status
option can now take a value of 2, 3, 4 or 5 (as well as the previous on
or off) to configure more than one line. The new status-format array
option configures the format of each line, the default just references
the existing status-* options, although some of the more obscure status
options may be eliminated in time.
Additions to the #[] syntax are: "align" to specify alignment (left,
centre, right), "list" for the window list and "range" to configure
ranges of text for the mouse bindings.
The "align" keyword can also be used to specify alignment of entries in
tree mode and the pane status lines.
2019-03-18 20:53:33 +00:00
Thomas Adam
acb2413852
Merge branch 'obsd-master'
2019-03-18 15:07:51 +00:00
nicm
b4f5b99e4b
Tidy and rename some bits of status line code.
2019-03-16 17:14:07 +00:00
nicm
85044a634b
Move status line free into its own function.
2019-03-15 14:46:58 +00:00
nicm
10d60faba5
Store the time in the format tree rather than passing it around.
2019-03-14 23:14:27 +00:00
Thomas Adam
2c755e3c55
Merge branch 'obsd-master'
2019-03-14 22:02:39 +00:00
nicm
1416ceb575
Accept 0 time as a shorthand for now to format_expand_time.
2019-03-14 21:27:26 +00:00
Thomas Adam
3ec05e9405
Merge branch 'obsd-master'
2019-03-12 12:02:42 +00:00
nicm
3f6bfbaf2b
Allow multiple modes to be open in a pane. A stack of open modes is kept
...
and the previous restored when the top is exited. If a mode that is
already on the stack is entered, the existing instance is moved to the
top as the active mode rather than being opened new.
2019-03-12 11:16:49 +00:00
Thomas Adam
349aeb806a
Merge branch 'obsd-master'
2019-03-07 22:02:42 +00:00
nicm
f98c66ece8
Add a separate mode struct for the active window mode if any.
2019-03-07 20:24:21 +00:00
Thomas Adam
fa8294436c
Merge branch 'obsd-master'
2019-02-16 14:02:37 +00:00
nicm
82f0c859a2
Use starting client cwd in config file, GitHub issue 1606.
2019-02-16 11:42:08 +00:00
Thomas Adam
c9d482ab48
Merge branch 'obsd-master'
2018-12-18 14:02:40 +00:00
nicm
bde0224deb
Pass window into mode functions.
2018-12-18 13:20:44 +00:00
Thomas Adam
efd01f3bfd
Merge branch 'obsd-master'
2018-11-19 14:02:41 +00:00
nicm
749f67b7d8
evbuffer_new and bufferevent_new can both fail (when malloc fails) and
...
return NULL. GitHub issue 1547.
2018-11-19 13:35:40 +00:00