Commit Graph

  • 06d58b3b7b screen_write_fast_copy can no longer assume the target screen is default (it isn't for the pane status lines). nicm 2019-04-03 06:43:04 +00:00
  • 8968acd678 Silence flag should use the same option as activity, reported by Thomas Sattler. nicm 2019-04-02 18:41:24 +00:00
  • c9ef144dca Merge branch 'obsd-master' Thomas Adam 2019-04-02 21:02:37 +01:00
  • 09f71ed1b2 Silence flag should use the same option as activity, reported by Thomas Sattler. nicm 2019-04-02 18:41:24 +00:00
  • f0ddc301b7 Add CHANGES. Nicholas Marriott 2019-04-02 17:02:09 +01:00
  • 916c4c499d Version RC2. Nicholas Marriott 2019-04-02 11:12:24 +01:00
  • fac792dc27 Update regress from master. Nicholas Marriott 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. nicm 2019-04-02 08:45:32 +00:00
  • bfc1f0ca62 Merge branch 'obsd-master' Thomas Adam 2019-04-02 11:02:44 +01:00
  • 7bcc0d16f2 Add an argument to copy commands to set the prefix for the buffer name, allows buffers for different sessions to be named separately. nicm 2019-04-02 09:03:39 +00:00
  • f03776c262 Don't use a config file in tests. Nicholas Marriott 2019-04-02 09:48:26 +01:00
  • ffa4d48967 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. nicm 2019-04-02 08:45:32 +00:00
  • 79c3fd4f39 Add cursor regression tests. Nicholas Marriott 2019-04-02 09:36:20 +01:00
  • 6d071c468c Restore a check to stop scrolled lines becoming larger than total lines, fixes a crash reported by Thomas Sattler. nicm 2019-04-01 19:33:38 +00:00
  • 294accea1b Merge branch 'obsd-master' Thomas Adam 2019-04-01 21:02:37 +01:00
  • 792fcb1dbf Restore a check to stop scrolled lines becoming larger than total lines, fixes a crash reported by Thomas Sattler. nicm 2019-04-01 19:33:38 +00:00
  • da359269cb Merge branch '2.9-rc' Nicholas Marriott 2019-03-29 11:20:15 +00:00
  • 92da105b58 Free old strings after they have been expanded in format_choose. nicm 2019-03-29 09:33:24 +00:00
  • ecc5cea09b Merge branch 'obsd-master' Thomas Adam 2019-03-29 10:02:36 +00:00
  • d68a17a1df Free old strings after they have been expanded in format_choose. nicm 2019-03-29 09:33:24 +00:00
  • 52cb7a6382 Merge branch '2.9-rc' Nicholas Marriott 2019-03-29 07:05:50 +00:00
  • 00fda57ddf Fix offset of list ranges. nicm 2019-03-28 22:18:46 +00:00
  • 405bb8435c Merge branch 'obsd-master' Thomas Adam 2019-03-29 00:02:36 +00:00
  • c6c4960b35 Fix offset of list ranges. nicm 2019-03-28 22:18:46 +00:00
  • 2c4f2393ec Merge branch 'obsd-master' Thomas Adam 2019-03-28 22:02:37 +00:00
  • 08bc226527 Expand session and window formats for buffer filters. nicm 2019-03-28 21:05:15 +00:00
  • 6b38334b28 Merge branch 'obsd-master' Thomas Adam 2019-03-27 14:02:36 +00:00
  • c1f0918f8a Fix stop-selection, from Avi Halachmi. nicm 2019-03-27 13:25:11 +00:00
  • 6861045d38 Merge branch 'obsd-master' Thomas Adam 2019-03-26 22:02:36 +00:00
  • 9f8d193b11 Break copy mode commands into individual functions instead of a big load of if statements. nicm 2019-03-26 21:01:19 +00:00
  • a13e57f701 Update TODO. Nicholas Marriott 2019-03-26 17:04:47 +00:00
  • e722ba38e3 There is no examples directory anymore. Nicholas Marriott 2019-03-26 15:10:05 +00:00
  • b1dc2b5353 Merge branch '2.9-rc' Nicholas Marriott 2019-03-26 15:05:41 +00:00
  • e0e08fcd2d Update CHANGES & TODO. Nicholas Marriott 2019-03-26 15:05:28 +00:00
  • 0a913b09cf For 3.0. Nicholas Marriott 2019-03-26 14:38:20 +00:00
  • 4f7a5d1e40 2.9 bits. Nicholas Marriott 2019-03-26 14:37:27 +00:00
  • 6ac84585e6 Merge branch 'obsd-master' Thomas Adam 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. nicm 2019-03-25 18:59:55 +00:00
  • 5e2150cf18 Merge branch 'obsd-master' Thomas Adam 2019-03-25 16:00:36 +00:00
  • a07ad6b5a3 Merge branch 'obsd-master' Thomas Adam 2019-03-25 15:57:47 +00:00
  • ff4d7d541f Fix columns of cursor_character format in list. nicm 2019-03-25 14:29:36 +00:00
  • e8f4ca6a52 Tweaks to example config. Nicholas Marriott 2019-03-25 12:05:58 +00:00
  • a084f2dcb7 Add to TODO. Nicholas Marriott 2019-03-25 10:06:03 +00:00
  • 517d673dbe Ignore mouse on status line which are not part of a range, GitHub issue 1649. nicm 2019-03-25 09:22:09 +00:00
  • b4a301f8fe Clarify that styles can be space or comma separated, from Stephen Zapatka. nicm 2019-03-22 10:45:17 +00:00
  • 04a1fc9d36 I forgot to document resize-window, window-size and default-size; reminded by okan@. nicm 2019-03-22 09:33:04 +00:00
  • 0292243b29 Merge branch 'obsd-master' Thomas Adam 2019-03-20 20:02:37 +00:00
  • ef38a420b2 Update TODO. Nicholas Marriott 2019-03-20 20:02:13 +00:00
  • 7536d57b16 Update TODO. Nicholas Marriott 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. nicm 2019-03-20 19:19:11 +00:00
  • 0e0f2f765b Update CHANGES. Nicholas Marriott 2019-03-20 14:01:37 +00:00
  • bff957a475 Merge branch 'obsd-master' Thomas Adam 2019-03-20 08:02:38 +00:00
  • ed962e7612 Include function name in logging. nicm 2019-03-20 07:30:05 +00:00
  • 458b87150b Do not leak ranges on error. nicm 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. nicm 2019-03-20 07:24:03 +00:00
  • 3b959c05ff Bit more logging to show drawing errors. nicm 2019-03-20 07:13:02 +00:00
  • 46f642b030 Merge branch 'obsd-master' Thomas Adam 2019-03-19 22:02:36 +00:00
  • 8b74e959ef Include window-status-style and window-status-current style in the format. nicm 2019-03-19 21:09:51 +00:00
  • 320237fdb8 Merge branch 'obsd-master' Thomas Adam 2019-03-19 20:02:37 +00:00
  • 161b57869e Add a cursor_character format. nicm 2019-03-19 19:01:50 +00:00
  • 92732a2540 Add to TODO. Nicholas Marriott 2019-03-19 14:39:46 +00:00
  • b3eebdec48 Merge branch 'obsd-master' Thomas Adam 2019-03-19 14:02:36 +00:00
  • b24c9e34a9 Rename the first KEY BINDINGS section to DEFAULT KEY BINDINGS. nicm 2019-03-19 13:35:42 +00:00
  • 073d439965 Merge branch 'obsd-master' Thomas Adam 2019-03-19 00:02:39 +00:00
  • f956c17c09 Merge branch 'obsd-master' Thomas Adam 2019-03-18 22:02:36 +00:00
  • 0406ec0ec2 Free temporary screens when writing format. nicm 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. nicm 2019-03-18 21:46:01 +00:00
  • 962f255ee8 Merge branch 'obsd-master' Thomas Adam 2019-03-18 21:24:49 +00:00
  • c62404673e Add some bits to the STATUS LINE section about the new option. nicm 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. nicm 2019-03-18 20:53:33 +00:00
  • 1d6fe43c7b Merge branch 'obsd-master' Thomas Adam 2019-03-18 18:02:38 +00:00
  • 4cbf596dc5 Merge branch 'obsd-master' Thomas Adam 2019-03-18 15:30:55 +00:00
  • d738d51688 Mode init needs to be fired with the mode on the list or it will not be resized correctly. nicm 2019-03-18 15:25:36 +00:00
  • acb2413852 Merge branch 'obsd-master' Thomas Adam 2019-03-18 15:07:51 +00:00
  • 2628af573d Add format variables for the default formats for the various modes (tree_mode_format and so on) and add a -a flag to display-message to list variables with values. nicm 2019-03-18 14:10:25 +00:00
  • aa2b3472c5 Update TODO. Nicholas Marriott 2019-03-18 12:00:10 +00:00
  • ce6be7afd4 Make array options a sparse tree instead of an array of char * and remove the size limit. nicm 2019-03-18 11:58:40 +00:00
  • d2d43987d0 With force, kill previous job before starting new. Fixes problem reported by Scott Mcdermott in GitHub issue 1627. nicm 2019-03-18 09:46:42 +00:00
  • bd3332b211 Break description of styles into its own section. nicm 2019-03-17 19:33:12 +00:00
  • 3a298454ce Add to TODO. Nicholas Marriott 2019-03-17 08:05:58 +00:00
  • b588b1729a Use a pointer for the active screen in the status line instead of copying them around all the time. nicm 2019-03-16 19:12:13 +00:00
  • 818fda0363 Give status_save_old the client so it can do the reinit too. nicm 2019-03-16 17:53:55 +00:00
  • b4f5b99e4b Tidy and rename some bits of status line code. nicm 2019-03-16 17:14:07 +00:00
  • e8b33af780 Add a way to set individual defaults for an array option. nicm 2019-03-15 21:54:47 +00:00
  • 1d306e926a Add a : to make error messages clearer. nicm 2019-03-15 15:20:00 +00:00
  • 33595a255f Copy recursion counter into new formats when looping. nicm 2019-03-15 15:02:25 +00:00
  • 85044a634b Move status line free into its own function. nicm 2019-03-15 14:46:58 +00:00
  • 2d71bef0ca Remove unused member of struct client. nicm 2019-03-15 10:48:05 +00:00
  • f6d34f066c Only print format logging when the flag is set, even if also sending to log_debug. nicm 2019-03-15 10:22:57 +00:00
  • 672c49d512 The pane and window loops need to pass the window and pane tags when they build their format. nicm 2019-03-15 10:07:24 +00:00
  • 27578815da Add a -v flag to display-message to show verbose messages as the format is parsed, this gives the user a way to debug problems with formats rather than just being confronted with (for example) a blank status line. nicm 2019-03-15 10:04:13 +00:00
  • 25e2e22791 Add a limit on how far format_expand can recurse. nicm 2019-03-14 23:34:41 +00:00
  • 10d60faba5 Store the time in the format tree rather than passing it around. nicm 2019-03-14 23:14:27 +00:00
  • 2c755e3c55 Merge branch 'obsd-master' Thomas Adam 2019-03-14 22:02:39 +00:00
  • bace79a571 Remove some unnecessary temporary variables and be much less strict about spacing in style_parse. nicm 2019-03-14 21:46:08 +00:00
  • 4206bcc10e Add format flags for start and end window. nicm 2019-03-14 21:41:30 +00:00
  • 38064e7593 Add T format modifier like E but also do strftime(3). nicm 2019-03-14 21:31:43 +00:00
  • 1416ceb575 Accept 0 time as a shorthand for now to format_expand_time. nicm 2019-03-14 21:27:26 +00:00
  • d58bccfc63 Merge branch 'obsd-master' Thomas Adam 2019-03-14 20:02:38 +00:00
  • 9bd4b96766 Fix ED1 (clear end of screen), reported by Marc Reisner. nicm 2019-03-14 17:58:52 +00:00