Commit Graph

  • 6a489fa7f6 Command prompt key presses need to avoid the command queue, GitHub issue 1817. Also a tmux.1 fix from jmc. nicm 2019-07-02 20:09:19 +00:00
  • b9fbf02ad5 Merge branch 'obsd-master' Thomas Adam 2019-07-01 09:02:25 +01:00
  • 2da050413c Add a "fill" style attribute to clear the entire format drawing area in a colour, GitHub issue 1815. nicm 2019-07-01 06:56:00 +00:00
  • abcd4bd246 Merge branch 'obsd-master' Thomas Adam 2019-06-30 21:02:26 +01:00
  • cf30e0f935 Do not double free window if pane fails to start. nicm 2019-06-30 19:21:53 +00:00
  • 68c2fc6824 Merge branch 'obsd-master' Thomas Adam 2019-06-28 17:02:26 +01:00
  • 4ff7bc3eb3 When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. deraadt 2019-06-28 13:35:05 +00:00
  • b6b4f86cfc Merge branch 'obsd-master' Thomas Adam 2019-06-28 09:02:24 +01:00
  • 6ce38b7395 asprintf returns -1, not an arbitrary value < 0. Also upon error the (very sloppy specification) leaves an undefined value in *ret, so it is wrong to inspect it, the error condition is enough. discussed a little with nicm, and then much more with millert until we were exasperated deraadt 2019-06-28 05:44:09 +00:00
  • a07df21e79 Merge branch 'obsd-master' Thomas Adam 2019-06-27 21:02:25 +01:00
  • b434692db2 minor eol issues; jmc 2019-06-27 17:29:16 +00:00
  • e483ce138f Merge branch 'obsd-master' Thomas Adam 2019-06-27 17:02:26 +01:00
  • dae2868d12 Add support for underscore colours with Setulc capability, mostly from Kai Moschcau. nicm 2019-06-27 15:17:41 +00:00
  • 5a501a8ae2 Pass keys that aren't 0-9 on to normal key processing when display-panes is active (restores previous behaviour). nicm 2019-06-26 18:28:31 +00:00
  • c4a9299956 Merge branch 'obsd-master' Thomas Adam 2019-06-26 21:02:26 +01:00
  • 3a6d90adad Fix a typo in window_pane_find_down (w not wp) and a missing PANE_STATUS_TOP. nicm 2019-06-26 18:44:22 +00:00
  • 87ea14328c Pass keys that aren't 0-9 on to normal key processing when display-panes is active (restores previous behaviour). nicm 2019-06-26 18:28:31 +00:00
  • f797ac9ff6 Merge branch 'obsd-master' Thomas Adam 2019-06-26 15:02:26 +01:00
  • c599ad63f8 Log window and pane resizes. nicm 2019-06-26 13:05:24 +00:00
  • 80d76612b8 Fix some comments (top/bottom not left/right). nicm 2019-06-26 13:05:06 +00:00
  • d83f356218 Add #define for the pane status line option position numbers. nicm 2019-06-26 13:03:47 +00:00
  • a1d4bf20f7 Merge branch 'obsd-master' Thomas Adam 2019-06-24 13:02:26 +01:00
  • 20b938bcb1 Expand arguments to C and s format modifiers (matches m which already expands). nicm 2019-06-24 10:04:29 +00:00
  • c14b0d7c00 Merge branch 'obsd-master' Thomas Adam 2019-06-24 11:02:26 +01:00
  • bdab595095 Trim trailing spaces when matching. nicm 2019-06-24 08:20:02 +00:00
  • 50c4c5917d Merge branch 'obsd-master' Thomas Adam 2019-06-23 13:02:26 +01:00
  • f1100f97f7 Do not always set scope for panes because the window check might fail, GitHub issue 1810. nicm 2019-06-23 10:00:29 +00:00
  • 69a2f73449 Merge branch 'obsd-master' Thomas Adam 2019-06-21 09:02:25 +01:00
  • e3c2772d2f Man page fixes from lacygoill at lacygoill dot me. nicm 2019-06-21 07:11:01 +00:00
  • 70775b3c28 Merge branch 'obsd-master' Thomas Adam 2019-06-20 23:02:28 +01:00
  • 1d8e545bc1 Add -r to find-window for regex instead of fnmatch. nicm 2019-06-20 20:31:04 +00:00
  • c4a92e5799 Merge branch 'obsd-master' Thomas Adam 2019-06-20 21:02:27 +01:00
  • 97a317a656 Need to always check focus even if not current window. nicm 2019-06-20 19:29:38 +00:00
  • cb5e681ef6 FIx return of options_scope_from_name on error. nicm 2019-06-20 18:13:04 +00:00
  • 5aae58295e Merge branch 'obsd-master' Thomas Adam 2019-06-20 19:02:27 +01:00
  • 4a44ae06bf Merge branch 'obsd-master' Thomas Adam 2019-06-20 17:02:26 +01:00
  • f4e835754c Fix how regex substitution works with empty matches. nicm 2019-06-20 15:40:14 +00:00
  • f8ad72b2ee Merge branch 'obsd-master' Thomas Adam 2019-06-20 15:02:26 +01:00
  • fc1df91e03 allow-rename and alternate-screen can be pane options. nicm 2019-06-20 13:40:22 +00:00
  • c1573727f0 Still need to walk the options tree for user options. nicm 2019-06-20 13:39:17 +00:00
  • a0e2c1b4ca Add to CHANGES. Nicholas Marriott 2019-06-20 13:08:13 +01:00
  • 5f92f92908 Add a per-pane option set. Pane options inherit from window options (so there should be no change to existing behaviour) and are set and shown with set-option -p and show-options -p. nicm 2019-06-20 11:59:59 +00:00
  • adca856806 Merge branch 'obsd-master' Thomas Adam 2019-06-20 11:02:28 +01:00
  • 03945276f7 Merge branch 'obsd-master' Thomas Adam 2019-06-20 09:02:26 +01:00
  • c1ede507d9 Add a helper function to work out option table from name. nicm 2019-06-20 07:41:29 +00:00
  • cd1fc42df6 Add a -A flag to show-options to show parent options as well. nicm 2019-06-20 07:10:56 +00:00
  • 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. nicm 2019-06-20 06:51:36 +00:00
  • b3ca410bc3 Use KERN_PROC_CWD on NetBSD, from Leonardo Taccari. Nicholas Marriott 2019-06-20 06:57:37 +01:00
  • ec151b79ec Merge branch '3.0-rc' Nicholas Marriott 2019-06-18 19:43:20 +01:00
  • 797042584e Handle comments more correctly inside {}, from Avi Halachmi. nicm 2019-06-18 11:17:40 +00:00
  • df07723e20 Add a config. Nicholas Marriott 2019-06-18 19:42:52 +01:00
  • ee9bc355f5 Merge branch 'obsd-master' Thomas Adam 2019-06-18 13:02:28 +01:00
  • 250fdd08be Handle comments more correctly inside {}, from Avi Halachmi. nicm 2019-06-18 11:17:40 +00:00
  • 9272fe36e2 Add a cmdq_continue function rather than twiddling the flag directly. nicm 2019-06-18 11:08:42 +00:00
  • 5895f1d9f7 Merge branch 'obsd-master' Thomas Adam 2019-06-15 09:02:26 +01:00
  • fadbf497a4 Merge branch '3.0-rc' Nicholas Marriott 2019-06-15 07:45:58 +01:00
  • 748633c887 Remove a stray abort. Nicholas Marriott 2019-06-15 07:45:41 +01:00
  • d53c2d0ebe Merge branch '3.0-rc' Nicholas Marriott 2019-06-15 07:44:58 +01:00
  • 08f55414e1 Remove cmd-list.c line in master. Nicholas Marriott 2019-06-15 07:42:49 +01:00
  • 7a4a286ea2 Merge branch '3.0-rc' Nicholas Marriott 2019-06-15 07:38:01 +01:00
  • 9ae658983c Do not loop forever if a menu item contains invisible characters, reported by Thomas Sattler. nicm 2019-06-14 15:35:58 +00:00
  • 03da0ced46 Use the right format modifier when comparing, and remove a couple of unused variables. nicm 2019-06-15 06:33:48 +00:00
  • 539a6e7fa0 Merge branch 'obsd-master' Thomas Adam 2019-06-14 19:02:26 +01:00
  • c95cd9ed5e Do not loop forever if a menu item contains invisible characters, reported by Thomas Sattler. nicm 2019-06-14 15:35:58 +00:00
  • c22470bd14 3.0-rc3. 3.0 Nicholas Marriott 2019-06-14 16:17:34 +01:00
  • 4c28ed4e4e Merge branch '3.0-rc' Nicholas Marriott 2019-06-14 16:10:38 +01:00
  • 31cb95893e #{ is no longer special. Nicholas Marriott 2019-06-14 16:10:27 +01:00
  • ae83a5b010 Add to CHANGES. Nicholas Marriott 2019-06-14 16:09:49 +01:00
  • 29b70e2757 Merge branch '3.0-rc' Nicholas Marriott 2019-06-14 16:06:20 +01:00
  • 52b8274285 Do not crash if the environment variable is present but empty. nicm 2019-06-13 21:24:09 +00:00
  • dcb2bb33a2 Merge branch '3.0-rc' Nicholas Marriott 2019-06-14 16:05:26 +01:00
  • a924694820 Use the right client when working out where to save or load the buffer, reported by kn@. nicm 2019-06-13 21:44:13 +00:00
  • 0a94dbe051 A couple of minor parser changes around conditions: 1) only treat #{ specially after a condition, otherwise as a comment (which is more as most people expect) 2) allow formats to be quoted after a condition. nicm 2019-06-14 12:04:11 +00:00
  • 8da756c4f0 Restore missing functions. Nicholas Marriott 2019-06-14 16:02:34 +01:00
  • 7bb8ab1c0e Add a bit to {}. Nicholas Marriott 2019-06-14 12:40:35 +01:00
  • 5e9757b30b Merge branch 'obsd-master' Thomas Adam 2019-06-14 15:51:09 +01:00
  • d1d3bbb458 Show filename with -v for source-file. nicm 2019-06-14 13:34:45 +00:00
  • 45203582ff A couple of minor parser changes around conditions: 1) only treat #{ specially after a condition, otherwise as a comment (which is more as most people expect) 2) allow formats to be quoted after a condition. nicm 2019-06-14 12:04:11 +00:00
  • ebc9dcb3bb Add a bit to {}. Nicholas Marriott 2019-06-14 12:40:35 +01:00
  • 4bbf941436 Merge branch '3.0-rc' Nicholas Marriott 2019-06-14 10:34:05 +01:00
  • f31847db62 Improve description of #{. Nicholas Marriott 2019-06-14 10:33:55 +01:00
  • f35f15b107 Use the right client when working out where to save or load the buffer, reported by kn@. nicm 2019-06-13 21:44:13 +00:00
  • eef11b64e1 Do not crash if the environment variable is present but empty. nicm 2019-06-13 21:24:09 +00:00
  • b8a9c740bb tweak previous; jmc 2019-06-13 21:04:21 +00:00
  • 26b9a8e49b Set the cursor x at the same time as changing the y or the end of line marker may not be redrawn. nicm 2019-06-13 20:38:05 +00:00
  • 3e72e98e3b Add regular expression support for the format search, match and substitute modifiers. nicm 2019-06-13 19:46:00 +00:00
  • d5902eeae9 Merge branch 'obsd-master' Thomas Adam 2019-06-12 11:02:25 +01:00
  • 7e6a26cc9d Do not use $TMUX to find the session because for windows in multiple sessions it is wrong as often as it is right, and for windows in one session it is pointless. Instead check TMUX_PANE to find the pane and look for the MRU session as usual. GitHub issue 1793. nicm 2019-06-12 09:10:29 +00:00
  • b12df01861 Pass target on to new commands with if -F. nicm 2019-06-12 08:47:07 +00:00
  • 9d42bd328c Do not always resize the window back to its original size after applying a layout, let the normal window resize process do it. This means windows are not resized at all if window-size is manual, and are not resized multiple times if later attached to a different size terminal. nicm 2019-06-12 08:08:33 +00:00
  • e337c1ba7d Do not try to parse command when unsetting, GitHub issue 1788. nicm 2019-06-08 21:48:29 +00:00
  • 057c04e32a Merge branch 'obsd-master' Thomas Adam 2019-06-11 15:02:26 +01:00
  • 8e971f187a Update README.md Nicholas Marriott 2019-06-11 14:27:40 +01:00
  • e8814a7e93 Add to CHANGES. Nicholas Marriott 2019-06-11 14:23:47 +01:00
  • 1a9f9c09b4 Do not resize panes unless they are in an attached, active window. From Morten M Neergaard in GitHub issue 1782. nicm 2019-06-11 13:09:00 +00:00
  • d9ad461b5e Merge branch 'obsd-master' Thomas Adam 2019-06-09 09:02:26 +01:00
  • 915097d312 Exiting alternate screen mode should restore cursor position and attributes even if already outside alternate screen mode. GitHub issue 1789. nicm 2019-06-09 06:50:24 +00:00
  • 181841fb67 Merge branch 'obsd-master' Thomas Adam 2019-06-09 01:02:26 +01:00
  • 43796bf131 Do not try to parse command when unsetting, GitHub issue 1788. nicm 2019-06-08 21:48:29 +00:00
  • e13c1e5320 Merge branch 'obsd-master' Thomas Adam 2019-06-07 23:02:26 +01:00