Commit Graph

7397 Commits

Author SHA1 Message Date
d24a44230a Update CHANGES for 2.9. 2019-04-18 22:12:15 +01:00
cd4c94f76b Current window style also needs to be tested for default. 2019-04-11 09:34:22 +01:00
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
73b54a0e5f Fix size check for splitw -f and top level pane size for tiled layout,
problems reported by Thomas Sattler.
2019-04-04 18:31:35 +01:00
481c3f3f2e screen_write_fast_copy can no longer assume the target screen is default
(it isn't for the pane status lines).
2019-04-03 09:31:32 +01:00
8968acd678 Silence flag should use the same option as activity, reported by Thomas
Sattler.
2019-04-02 22:20:36 +01:00
916c4c499d Version RC2. 2019-04-02 11:12:24 +01:00
fac792dc27 Update regress from master. 2019-04-02 11:11:19 +01:00
bbcfee362f Store and restore cursor across reflow by working out a position based
on unwrapped lines, rather than a grid offset. Fixes problems reported
by Thomas Sattler and Paul de Weerd.
2019-04-02 11:11:12 +01:00
6d071c468c Restore a check to stop scrolled lines becoming larger than total lines,
fixes a crash reported by Thomas Sattler.
2019-04-02 07:33:33 +01:00
92da105b58 Free old strings after they have been expanded in format_choose. 2019-03-29 11:19:55 +00:00
00fda57ddf Fix offset of list ranges. 2019-03-29 07:05:40 +00:00
e0e08fcd2d Update CHANGES & TODO. 2019-03-26 15:05:28 +00:00
4f7a5d1e40 2.9 bits. 2019-03-26 14:37:27 +00:00
6ac84585e6 Merge branch 'obsd-master' 2019-03-25 20:02:38 +00:00
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
5e2150cf18 Merge branch 'obsd-master' 2019-03-25 16:00:36 +00:00
a07ad6b5a3 Merge branch 'obsd-master' 2019-03-25 15:57:47 +00:00
ff4d7d541f Fix columns of cursor_character format in list. 2019-03-25 14:29:36 +00:00
e8f4ca6a52 Tweaks to example config. 2019-03-25 12:05:58 +00:00
a084f2dcb7 Add to TODO. 2019-03-25 10:06:03 +00:00
517d673dbe Ignore mouse on status line which are not part of a range, GitHub issue 1649. 2019-03-25 09:22:09 +00:00
b4a301f8fe Clarify that styles can be space or comma separated, from Stephen Zapatka. 2019-03-22 10:45:17 +00:00
04a1fc9d36 I forgot to document resize-window, window-size and default-size;
reminded by okan@.
2019-03-22 09:33:04 +00:00
0292243b29 Merge branch 'obsd-master' 2019-03-20 20:02:37 +00:00
ef38a420b2 Update TODO. 2019-03-20 20:02:13 +00:00
7536d57b16 Update TODO. 2019-03-20 19:26:20 +00:00
9ee1a8f701 Improve cursor positioning after reflow by storing the position as an
offset into the entire history before reflow and restoring it aftewards.
2019-03-20 19:19:11 +00:00
0e0f2f765b Update CHANGES. 2019-03-20 14:01:46 +00:00
bff957a475 Merge branch 'obsd-master' 2019-03-20 08:02:38 +00:00
ed962e7612 Include function name in logging. 2019-03-20 07:30:05 +00:00
458b87150b Do not leak ranges on error. 2019-03-20 07:28:31 +00:00
ae46a19b8e Ignore invalid styles rather than throwing away the whole format, this
matches what we used to do.
2019-03-20 07:24:03 +00:00
3b959c05ff Bit more logging to show drawing errors. 2019-03-20 07:13:02 +00:00
46f642b030 Merge branch 'obsd-master' 2019-03-19 22:02:36 +00:00
8b74e959ef Include window-status-style and window-status-current style in the format. 2019-03-19 21:09:51 +00:00
320237fdb8 Merge branch 'obsd-master' 2019-03-19 20:02:37 +00:00
161b57869e Add a cursor_character format. 2019-03-19 19:01:50 +00:00
92732a2540 Add to TODO. 2019-03-19 14:39:55 +00:00
b3eebdec48 Merge branch 'obsd-master' 2019-03-19 14:02:36 +00:00
b24c9e34a9 Rename the first KEY BINDINGS section to DEFAULT KEY BINDINGS. 2019-03-19 13:35:42 +00:00
073d439965 Merge branch 'obsd-master' 2019-03-19 00:02:39 +00:00
f956c17c09 Merge branch 'obsd-master' 2019-03-18 22:02:36 +00:00
0406ec0ec2 Free temporary screens when writing format. 2019-03-18 21:55:04 +00:00
f34ebfed76 The individual -fg, -bg and -attr options have been deprecated (in
favour of -style), undocumented and hidden from show-options since
2014. Remove them, except for status-fg and status-bg.
2019-03-18 21:46:01 +00:00
962f255ee8 Merge branch 'obsd-master' 2019-03-18 21:24:49 +00:00
c62404673e Add some bits to the STATUS LINE section about the new option. 2019-03-18 21:01:04 +00:00
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
1d6fe43c7b Merge branch 'obsd-master' 2019-03-18 18:02:38 +00:00
4cbf596dc5 Merge branch 'obsd-master' 2019-03-18 15:30:55 +00:00