Commit Graph

  • 4bf6f2706e Check whether cursor is at start or end when copying rectangular selections, from tb@. nicm 2018-04-23 13:46:34 +00:00
  • 9f39652d87 Remove unnecessary brackets. nicm 2018-04-23 13:43:08 +00:00
  • c48440fd40 Merge branch 'obsd-master' Thomas Adam 2018-04-23 11:02:27 +01:00
  • 1afe71cc0a rxvt-unicode has some funny behaviour when scrolling with the cursor not at column 1, so move it back there first if possible. GitHub issue 1318. nicm 2018-04-23 07:41:30 +00:00
  • 0e1b339c10 Merge branch 'obsd-master' Thomas Adam 2018-04-18 17:02:28 +01:00
  • 3dceddd70e Change how display-message uses the client. Originally it was only intended as the target client where the message should be displayed but at some point (perhaps when -p was added), it was used for format expansion too. This means it can get a bit weird where you have client formats expanding for a client with a different current session than the target session. nicm 2018-04-18 14:35:37 +00:00
  • 2595718dd3 Include source function name in grid_check_y logging. nicm 2018-04-18 14:31:42 +00:00
  • 6ebd737590 Merge branch 'obsd-master' Thomas Adam 2018-04-18 15:02:25 +01:00
  • e64d078a4c Fix || example. nicm 2018-04-18 12:50:11 +00:00
  • ae0b7c7d72 Some changes. Nicholas Marriott 2018-04-13 17:59:11 +01:00
  • a770ef3e2a Merge branch '2.7-rc' Nicholas Marriott 2018-04-13 17:50:40 +01:00
  • b95d1de8fd 2.7. Nicholas Marriott 2018-04-13 17:47:36 +01:00
  • 7e5262ae9a Merge branch 'obsd-master' Thomas Adam 2018-04-11 13:02:28 +01:00
  • 14ecb5032e Allow no client for rename-session, from Ryan Freeman. nicm 2018-04-11 09:54:45 +00:00
  • 1bd66b65a3 Merge branch 'obsd-master' Thomas Adam 2018-04-10 13:02:28 +01:00
  • 051a29ca03 A couple of fixes to the : form of SGR. Apparently there is an extra argument that nobody knew about, so skip that if it exists. Also there are a bunch of useless optional arguments at the end, so ignore those. nicm 2018-04-10 11:20:15 +00:00
  • c6975b3bb4 Add x and X to choose-tree (with a confirmation prompt) to kill an item. Suggested by Matt Zagrabelny. nicm 2018-04-10 10:48:44 +00:00
  • 68bf7c532b Merge branch '2.7-rc' Nicholas Marriott 2018-04-06 12:53:43 +01:00
  • 9b73d76ddd Merge branch 'obsd-master' Thomas Adam 2018-04-06 11:02:24 +01:00
  • 5d616f4c72 Fix link, from Eliran Gonen. nicm 2018-04-06 09:09:38 +00:00
  • 8a81993ae1 Do not crash on empty window, reported by Jamie Macdonald in GitHub issue 1299. Patch from Thomas Adam. 2.7 nicm 2018-03-29 08:03:51 +00:00
  • b5c0b2cae2 Merge branch 'obsd-master' Thomas Adam 2018-03-29 10:28:18 +01:00
  • 803b8815bd Do not crash on empty window, reported by Jamie Macdonald in GitHub issue 1299. Patch from Thomas Adam. nicm 2018-03-29 08:03:51 +00:00
  • 785ce66ab9 Fix a regression: do not warn about no client in rename-window. nicm 2018-03-23 19:17:03 +00:00
  • 640d97afd0 Merge branch 'obsd-master' Thomas Adam 2018-03-23 20:02:31 +00:00
  • 194e9f611b Fix a regression: do not warn about no client in rename-window. nicm 2018-03-23 19:17:03 +00:00
  • ea295ac397 Fix size calculation when spreading out panes. nicm 2018-03-23 07:44:44 +00:00
  • 5512de6a61 Merge branch 'obsd-master' Thomas Adam 2018-03-23 10:02:30 +00:00
  • 26792b9035 Fix size calculation when spreading out panes. nicm 2018-03-23 07:44:44 +00:00
  • 919f55ac4a Merge branch '2.7-rc' Nicholas Marriott 2018-03-22 11:26:32 +00:00
  • 2cd0ba5057 CHANGES for 2.7. Nicholas Marriott 2018-03-22 11:25:58 +00:00
  • 80283f99fb Revert "2.7-rc." Nicholas Marriott 2018-03-22 11:18:26 +00:00
  • ced74bd72c 2.7-rc. Nicholas Marriott 2018-03-22 11:18:05 +00:00
  • 50e3e3e72f Remove EVENT_* variables from environment after initializing libevent so they are not carried into child processes; from Henry Qin. Nicholas Marriott 2018-03-21 08:15:15 +00:00
  • c8a706117f Merge branch 'obsd-master' Thomas Adam 2018-03-17 18:02:26 +00:00
  • 0b3911631b Fix negative window index range check (> not <). Reported by Juan Pablo in GitHub issue 1283. nicm 2018-03-17 16:48:17 +00:00
  • 0ca78ee51f Merge branch 'obsd-master' Thomas Adam 2018-03-16 16:02:28 +00:00
  • f87d80737e Insert full size panes at the right position, from KOIE Hidetaka in GitHub issue 1284. nicm 2018-03-16 15:15:39 +00:00
  • 9fd9952752 Merge branch 'obsd-master' Thomas Adam 2018-03-08 10:02:26 +00:00
  • 19f3a5c612 Add a missing client-detached hook when the server shuts down, and do not exit until jobs started from run-shell/if-shell have finished (add a job flags member and a flag to indicate other jobs). GitHub issue 1245. nicm 2018-03-08 08:09:10 +00:00
  • 3c451a64b5 Merge branch 'obsd-master' Thomas Adam 2018-03-05 14:02:29 +00:00
  • 85c48aafff For some reason tmux treats SGR 10 as SGR 0. It has done since the first version and I'm not sure why since no other terminal appears to. Change to just ignore SGR 10 instead. nicm 2018-03-05 12:32:28 +00:00
  • 61ea49c6dd Fix cmp use. Nicholas Marriott 2018-03-02 15:08:17 +00:00
  • 3b8f92359d Merge branch 'obsd-master' Thomas Adam 2018-03-01 14:02:27 +00:00
  • 182357f24b Expand formats in window and session names. nicm 2018-03-01 12:53:08 +00:00
  • 0ca9664ecf Merge branch 'obsd-master' Thomas Adam 2018-02-28 10:02:29 +00:00
  • 508e2f0b3a Add -Z flag to choose-tree, choose-client, choose-buffer to automatically zoom the pane when the mode is entered and unzoom when it exits, assuming the pane is not already zoomed. Add -Z to the default key bindings. nicm 2018-02-28 08:55:44 +00:00
  • f5a37d0071 Merge branch 'obsd-master' Thomas Adam 2018-02-26 10:02:30 +00:00
  • 4d72b8fff7 C-g for modes too, from Mike Hamrick. nicm 2018-02-26 08:09:56 +00:00
  • 9464b94f64 Merge branch 'obsd-master' Thomas Adam 2018-02-22 14:02:30 +00:00
  • c2aa40449c Merge branch 'obsd-master' Thomas Adam 2018-02-22 12:02:31 +00:00
  • 3f3f13fbd7 Remove an unused variable. nicm 2018-02-22 11:42:41 +00:00
  • e97daead43 Check prefix when retrying so it is checked while repeat flag is set. GitHub issue 1239. nicm 2018-02-22 10:58:12 +00:00
  • 623f4b12d3 Add exit-empty option to exit server if no sessions (defaults to on). nicm 2018-02-22 10:54:51 +00:00
  • 5a44e18490 Merge branch 'obsd-master' Thomas Adam 2018-02-20 12:02:23 +00:00
  • ab6f0bb348 Do not leak memory when working out job name in formats. nicm 2018-02-20 10:43:46 +00:00
  • 4e8b1b9ac2 Merge branch 'obsd-master' Thomas Adam 2018-02-19 22:02:29 +00:00
  • d81aec2439 Update CHANGES. Nicholas Marriott 2018-02-19 21:24:17 +00:00
  • 6ae04dd5a0 Support ISO colon-separated SGR. nicm 2018-02-19 21:20:10 +00:00
  • 968296bb07 Merge branch 'obsd-master' Thomas Adam 2018-02-16 12:02:29 +00:00
  • 320abba341 Reflowing the grid in-place involved way too much memmove() for a big performance cost with a large history. Instead change back to using a second grid and copying modified lines over which is much faster (this doesn't revert to the old code however which didn't support UTF-8 properly). GitHub issue 1249. nicm 2018-02-16 09:51:41 +00:00
  • 88711e885e Merge branch 'obsd-master' Thomas Adam 2018-02-05 10:02:31 +00:00
  • 7f4513ec34 Add struct status_line to hold status line members of struct client, not used yet but will be soon. From Thomas Adam. nicm 2018-02-05 08:21:54 +00:00
  • 2d5101621b Merge branch 'obsd-master' Thomas Adam 2018-02-05 08:02:27 +00:00
  • 0817132f97 Show if filter is active/no matches in modes. nicm 2018-02-05 06:51:41 +00:00
  • 24abfb72eb Merge branch 'obsd-master' Thomas Adam 2018-02-04 12:02:24 +00:00
  • fe7a871a23 Upstream ncurses has introduced terminfo capabilities to specify RGB colour ("true" or "direct" colour). These consist of new entries (such as "xterm-direct") which have a different setaf/setab implementation, colors and pairs set to 0x1000000 and 0x10000, and a new RGB flag. nicm 2018-02-04 10:10:39 +00:00
  • 4e4c500879 Add more to TODO. Nicholas Marriott 2018-01-29 12:46:52 +00:00
  • 0407d847a4 Add to TODO. Nicholas Marriott 2018-01-29 12:44:31 +00:00
  • 19afd842bf Merge branch 'obsd-master' Thomas Adam 2018-01-18 16:02:25 +00:00
  • 17d4c39f24 Discard all but the last line when reading from a #() command - the callback is just going to be fired again straight away to go through all the lines, it is better just to use the last one straight away. nicm 2018-01-18 14:28:11 +00:00
  • d9e740f86d Merge branch 'obsd-master' Thomas Adam 2018-01-18 08:02:30 +00:00
  • c9037fde1c Remove unused hooks_run function, from Thomas Adam. nicm 2018-01-18 07:10:53 +00:00
  • 84ddc72744 Merge branch 'obsd-master' Thomas Adam 2018-01-17 11:26:10 +00:00
  • 75842bfe66 Fix drawing of ACS characters (they need to go character-at-a-time), accidentally broken in last commit. nicm 2018-01-16 17:03:18 +00:00
  • 5849b73b81 Add -I to pipe-pane to connect pane stdin as well as stdout, suggested by Kristof Kovacs in GitHub issue 1186. nicm 2018-01-16 09:00:38 +00:00
  • 58e9d12f23 msys is apparently a cygwin variant that doesn't say it is cygwin... Nicholas Marriott 2018-01-16 08:29:15 +00:00
  • 53b25635da Another redundant check, GitHub issue 1219. nicm 2018-01-15 15:30:03 +00:00
  • 481703d669 Some unused code, GitHub issue 1219. nicm 2018-01-15 15:27:03 +00:00
  • b0c1cefeda Do not collect top-bit-set characters in case they need to be replaced. nicm 2018-01-12 16:43:47 +00:00
  • 2c5a6f9af5 Simplify character replacement on non-UTF-8 terminals and make a common function. nicm 2018-01-12 16:41:00 +00:00
  • c03565611e Simplify UTF-8 states down into one state. nicm 2018-01-12 16:32:12 +00:00
  • f32fd2df69 Improve error message if creating socket parent directory fails, from Thomas Adam for GitHub issue 1215. nicm 2018-01-12 10:22:02 +00:00
  • 829fe38ab1 Improve logging for layout cells. nicm 2018-01-12 10:16:03 +00:00
  • 06684c93de Merge branch 'obsd-master' Thomas Adam 2018-01-01 12:01:13 +00:00
  • d17c90583a Prefer PWD for current directory if present in client, from Wei Zhao in GitHub issue 1183. nicm 2018-01-01 11:19:08 +00:00
  • fe26f977e6 Add C-g at command prompt for emacs people, GitHub issue 1213. nicm 2018-01-01 11:03:54 +00:00
  • 6e99a2f4bb Merge branch 'obsd-master' Thomas Adam 2017-12-31 22:01:15 +00:00
  • c9896d9554 Initialize the size of new panes created by the even-* layout correctly; reported by Andreas Kahari and Anton Lindqvist. nicm 2017-12-31 20:00:44 +00:00
  • ad417f6eb7 Merge branch 'obsd-master' Thomas Adam 2017-12-28 14:01:14 +00:00
  • 299c552e33 Redrawing status is needed after changing window flags or title does not update if status line is off, GitHub issue 1191. nicm 2017-12-28 12:10:50 +00:00
  • cd46568ebe Merge branch 'obsd-master' Thomas Adam 2017-12-27 14:43:20 +00:00
  • 937f8ed095 Draw command prompt correctly with status line off. nicm 2017-12-27 13:55:42 +00:00
  • 6ce8fe0537 Still need to globfree on failure. Nicholas Marriott 2017-12-27 13:54:37 +00:00
  • c363c236aa Fix memory leak in screen_redraw_make_pane_status. nicm 2017-12-22 23:16:41 +00:00
  • e19df0e869 Merge branch 'obsd-master' Thomas Adam 2017-12-22 12:01:22 +00:00
  • 7ba5ad4cfb Do not try to set default value on user options (they don't have one), from Charles Howard in GitHub issue 1161. nicm 2017-12-22 10:18:51 +00:00
  • 5c82432200 Remove duplicate WheelUp/WheelDown entries in list, GitHub issue 1184. nicm 2017-12-22 10:16:36 +00:00
  • 74ecc866cf Merge branch 'obsd-master' Thomas Adam 2017-12-19 16:01:20 +00:00
  • b20a00f93e Report better error from server when socket create fails, GitHub issue 1201. nicm 2017-12-19 15:00:39 +00:00