Commit Graph

  • f5d7a80272 calloc the mode data instead of malloc and initialize everything. nicm 2018-08-05 08:59:30 +00:00
  • 33f9b316a3 Merge branch 'obsd-master' Thomas Adam 2018-08-02 21:02:25 +01:00
  • d6ff630498 Log command arguments. nicm 2018-08-02 18:35:21 +00:00
  • eceaa9a493 Merge branch 'obsd-master' Thomas Adam 2018-08-02 15:02:25 +01:00
  • 2e19a5ecb9 Merge branch 'obsd-master' Thomas Adam 2018-08-02 13:02:26 +01:00
  • fb1f0fee5a session_groups can be static also. nicm 2018-08-02 11:56:12 +00:00
  • 6048b0f483 Make key trees and some other bits static. nicm 2018-08-02 11:44:07 +00:00
  • f12b857415 Minor tidying. nicm 2018-08-02 11:18:34 +00:00
  • 79bdca4638 Merge branch 'obsd-master' Thomas Adam 2018-08-02 11:02:25 +01:00
  • 21f8ac2766 Make display-panes block the client until a pane is chosen or it times out. nicm 2018-08-02 07:55:16 +00:00
  • 89b56c3451 Merge branch 'obsd-master' Thomas Adam 2018-08-01 17:02:25 +01:00
  • fe7486d43b Initialize new lineflag member. nicm 2018-08-01 15:22:40 +00:00
  • 400b807d75 Merge branch 'obsd-master' Thomas Adam 2018-07-31 17:02:31 +01:00
  • 5f07da6227 Do not leak path or use it after free. nicm 2018-07-31 13:06:44 +00:00
  • 7eb3ef66e5 Merge branch 'obsd-master' Thomas Adam 2018-07-31 13:02:25 +01:00
  • 82776c456e Move struct screen_sel into screen.c and tidy up members that are only used by copy mode. nicm 2018-07-31 11:49:26 +00:00
  • 80bdd89856 Clear history on RIS like most other terminals do. nicm 2018-07-31 10:32:19 +00:00
  • ed6327c87b Merge branch 'obsd-master' Thomas Adam 2018-07-30 13:02:25 +01:00
  • b21a710de7 Remove a leftover unused struct. nicm 2018-07-30 11:24:55 +00:00
  • aa32457772 Merge branch 'obsd-master' Thomas Adam 2018-07-23 21:02:25 +01:00
  • 5c78b48cdf Point to glob in section 7 for the actual list of special characters instead the C API in section 3. kn 2018-07-23 19:02:49 +00:00
  • 5fc2d4a4fc Merge branch 'obsd-master' Thomas Adam 2018-07-17 21:02:24 +01:00
  • 969af935f3 When a key isn't in the first table, we need to try the same key again not the any key. Also rename some labels. Fixes GitHub issue 1406 reeported by Mark Kelly. nicm 2018-07-17 18:02:40 +00:00
  • 4f04b2094c Merge branch 'obsd-master' Thomas Adam 2018-07-16 11:02:25 +01:00
  • 0d88f8a78b Add an "Any" key to run a command if a key is pressed that is not bound in the current key table. GitHub issue 1404. nicm 2018-07-16 08:48:22 +00:00
  • 6de991d855 Merge branch 'obsd-master' Thomas Adam 2018-07-15 11:02:25 +01:00
  • ff67ef945d Fix new-window -k, GitHub issue 1403. nicm 2018-07-15 06:57:13 +00:00
  • 711b8164bb Merge branch 'obsd-master' Thomas Adam 2018-07-11 11:02:26 +01:00
  • 35985c0add Updates to CHANGES. Nicholas Marriott 2018-07-11 09:51:18 +01:00
  • cfc81692e6 Expand formats in load-buffer and save-buffer. nicm 2018-07-11 08:29:21 +00:00
  • a4a7c3c68d Merge branch 'obsd-master' Thomas Adam 2018-07-11 09:02:25 +01:00
  • e7d53020b4 Helper function to shorten history. nicm 2018-07-11 06:51:39 +00:00
  • 03519021b9 Add function comments. nicm 2018-07-11 06:43:45 +00:00
  • 6f2698004e Merge branch 'obsd-master' Thomas Adam 2018-07-06 09:02:24 +01:00
  • 28a5bc8fae Add a rectangle_toggle format, from Hirokazu Hata. nicm 2018-07-06 07:11:23 +00:00
  • 20154f391e Merge branch 'obsd-master' Thomas Adam 2018-07-04 15:02:25 +01:00
  • 98c4291df2 whitespace needed between macro args and punctuation; jmc 2018-07-04 13:27:32 +00:00
  • 5c0ce192ed +README.ja. Nicholas Marriott 2018-07-04 13:45:30 +01:00
  • cc743dc296 Add set-hook -R to run a hook immediately (useful to set multiple hooks to the same thing). nicm 2018-07-04 12:30:52 +00:00
  • d254293a6d Add pane focus hooks. nicm 2018-07-04 12:25:26 +00:00
  • 850c26dd46 Merge branch 'obsd-master' Thomas Adam 2018-07-04 13:02:25 +01:00
  • db07f33886 Japanese README from Kohei Takada. Nicholas Marriott 2018-07-04 10:46:26 +01:00
  • 2fae6a5761 Add accessors for grid linedata member, for some future work. From Dan Aloni. nicm 2018-07-04 09:44:07 +00:00
  • 2ee0962c96 Merge branch 'obsd-master' Thomas Adam 2018-07-02 15:02:25 +01:00
  • 42935bde71 Fire notify for select-layout, from George Nachman. nicm 2018-07-02 12:39:14 +00:00
  • ffebf00585 Solaris 11.4 and later prefers mdoc, from Alan Coopersmith. Nicholas Marriott 2018-07-02 13:36:44 +01:00
  • ead6d652ff Merge branch 'obsd-master' Thomas Adam 2018-06-27 19:02:25 +01:00
  • a14aa788d4 Allow any punctuation (except :) as separator in s/x/y/, not only /. From JINNOUCHI Yasushi in GitHub issue 1386. nicm 2018-06-27 17:36:10 +00:00
  • d8721b35a0 Merge branch 'obsd-master' Thomas Adam 2018-06-26 15:02:25 +01:00
  • 97738921cd Style nit. nicm 2018-06-26 13:21:28 +00:00
  • 486ce9b098 Merge branch 'obsd-master' Thomas Adam 2018-06-26 13:02:25 +01:00
  • 8fb6666f17 Do not take address of a member of a NULL pointer. GitHub issue 1382 from Kamil Rytarowski. nicm 2018-06-26 11:14:05 +00:00
  • cb77c2aa78 Merge branch 'obsd-master' Thomas Adam 2018-06-25 19:02:24 +01:00
  • 0c94c3fbee If there are only two panes, always use the other pane as the last pane. Based on a change from Duy Nguyen in GitHub issue 1377. nicm 2018-06-25 17:23:16 +00:00
  • 94712a8b0d Merge branch 'obsd-master' Thomas Adam 2018-06-24 23:02:25 +01:00
  • dec6ec9e29 Minor cosmetic improvement from KOIE Hidetaka. nicm 2018-06-24 21:24:09 +00:00
  • 9da78d72de Merge branch 'obsd-master' Thomas Adam 2018-06-11 13:02:25 +01:00
  • d0c992306d Fix some compiler warnings; from Thomas Adam. nicm 2018-06-11 11:14:10 +00:00
  • 54c2d48d7d Merge branch 'obsd-master' Thomas Adam 2018-06-09 19:02:29 +01:00
  • e6cbeb4f38 Make it possible to resize multiple panes by dragging corners, from Dan Aloni in GitHub issue 1376. nicm 2018-06-09 17:05:52 +00:00
  • 4581240ced Merge branch 'obsd-master' Thomas Adam 2018-06-08 23:02:25 +01:00
  • f6bad7efd7 Instead of working out which pane to resize with the mouse by walking the panes list, look through the layout cells for the nearest border and resize that cell. From Dan Aloni in GitHub issue 1374. nicm 2018-06-08 20:54:22 +00:00
  • 713e0ddef3 Merge branch 'obsd-master' Thomas Adam 2018-06-08 13:02:25 +01:00
  • ff45b2d343 Tweak previous - check for a NULL client and simplify manual text. nicm 2018-06-08 09:43:58 +00:00
  • 91280f1fca Linux: include sys/file.h for flock() Thomas Adam 2018-06-07 09:17:05 +01:00
  • 7de25d86e1 Merge branch 'obsd-master' Thomas Adam 2018-06-03 13:02:31 +01:00
  • ba31d3a88c Increment the lines counter when skipping a line to avoid an infinite loop, and fix a check to avoid a potential out-of-bounds access. Problem reported by Yuxiang Qin and tracked down by Karl Beldan; GitHub issue 1352. nicm 2018-06-03 10:17:30 +00:00
  • 54cd292f09 Merge branch 'obsd-master' Thomas Adam 2018-05-29 11:02:26 +01:00
  • d1f5142dab If foo doesn't exist and can't be expanded in #{?foo,a,b} then assume it is false. nicm 2018-05-29 09:10:30 +00:00
  • 058d2b94dc Merge branch 'obsd-master' Thomas Adam 2018-05-28 15:02:31 +01:00
  • c177a627d2 When looking for panes, ignore dead ones (with -1 file descriptor). GitHub issue 1354. nicm 2018-05-28 11:50:47 +00:00
  • 8f8e0975f1 Add format string test, from "sadie-parayno" in GitHub issue 1358. Nicholas Marriott 2018-05-28 12:48:15 +01:00
  • b602c1fb9a Document escaping inside conditionals, from "sadie-parayno" in GitHub issue 1359. nicm 2018-05-28 11:45:26 +00:00
  • 7448b38327 Merge branch 'obsd-master' Thomas Adam 2018-05-24 13:02:29 +01:00
  • 85d5a377c5 Merge branch 'obsd-master' Thomas Adam 2018-05-24 11:02:25 +01:00
  • b9a6162d2f Make server_client_get_cwd used (almost) everywhere we need to work out the cwd, and do not fall back to "." as it is pretty useless. GitHub issue 1331. nicm 2018-05-24 09:42:49 +00:00
  • 8f5903d7c3 Improve logging of the environment etc for new panes. nicm 2018-05-24 09:34:54 +00:00
  • f0ac0d6793 Merge branch 'obsd-master' Thomas Adam 2018-05-22 11:02:33 +01:00
  • 2a04665626 Allow escaping , and } with # in #{}; GitHub issue 1332. nicm 2018-05-22 08:49:12 +00:00
  • 07c0970f54 Sync tmux description with manual. Nicholas Marriott 2018-05-22 08:02:06 +01:00
  • 546123f950 Merge branch 'obsd-master' Thomas Adam 2018-05-20 15:02:25 +01:00
  • f2f9605c63 -T should not actually select the pane. nicm 2018-05-20 11:48:34 +00:00
  • e4e060f2be Merge branch 'obsd-master' Thomas Adam 2018-05-15 17:02:31 +01:00
  • e3b034fac7 Fix switch-client -l, from Jean-Marc Eurin in GitHub issue 1343. nicm 2018-05-15 14:58:09 +00:00
  • 82c0eed36d Merge branch 'obsd-master' Thomas Adam 2018-05-09 19:02:35 +01:00
  • 80994a8de1 Mention allow-rename with \033k. nicm 2018-05-09 16:20:50 +00:00
  • 9e1093b7d7 Merge branch 'obsd-master' Thomas Adam 2018-05-09 11:02:26 +01:00
  • f2029f9d9e Another check for NULL window if looking for index. nicm 2018-05-09 07:50:03 +00:00
  • b2a2c3a1e9 Merge branch 'obsd-master' Thomas Adam 2018-05-07 17:02:31 +01:00
  • f915a4bf0c Handle terminfo colors > 256 correctly, GitHub issue 1337. nicm 2018-05-07 13:39:09 +00:00
  • 91b220525b Merge branch 'obsd-master' Thomas Adam 2018-05-04 11:02:31 +01:00
  • 988c6bc433 Improve logging of sessions. nicm 2018-05-04 08:21:42 +00:00
  • 1d858aa89e Merge branch 'obsd-master' Thomas Adam 2018-05-03 19:02:26 +01:00
  • e24a077752 Use window target if specified and exists even when looking for an index, fixes neww -a with -t as well. nicm 2018-05-03 16:56:59 +00:00
  • 645fe9013f Merge branch 'obsd-master' Thomas Adam 2018-04-26 17:02:31 +01:00
  • 896c1da7da Use <fcntl.h> instead of <sys/file.h> for open() and friends. Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. guenther 2018-04-26 12:42:51 +00:00
  • d24bd7394d Merge branch 'obsd-master' Thomas Adam 2018-04-23 17:02:32 +01:00
  • aebb17dc75 Sync imsg from OpenBSD. Nicholas Marriott 2018-04-23 15:39:53 +01:00
  • d9d2f84a4b Add KRB5CCNAME to update-environment. nicm 2018-04-23 14:03:06 +00:00
  • 068d1b97b2 #aabbcc will use RGB if supported so don't say it is closest match. nicm 2018-04-23 13:51:21 +00:00