Commit Graph

  • 9f39470b38 Only screen-redraw.c needs to adjust for message or prompt when the status line is off, get rid of tty_status_lines and just pass the client into status_line_size so it can check the CLIENT_STATUSOFF flag as well. Nicholas Marriott 2018-08-20 20:05:34 +01:00
  • 458b4b7701 Need to adjust for lines if at top. Nicholas Marriott 2018-08-20 19:45:32 +01:00
  • 31508228bc Use the y offset from the context which has already been adjusted for the status line, also make tty_clamp_line adjust the y position. Nicholas Marriott 2018-08-20 19:34:04 +01:00
  • 1e8c9fb490 Update CHANGES. Nicholas Marriott 2018-08-20 17:52:27 +01:00
  • 098967a085 Merge branch 'obsd-master' Thomas Adam 2018-08-20 17:02:39 +01:00
  • 665f046950 Add -Z to find-window as well. nicm 2018-08-20 15:00:42 +00:00
  • 641191ab20 Support for windows larger than the client. Nicholas Marriott 2018-08-20 15:22:14 +01:00
  • 9f2db6a0af Fix problems with page scrolling in copy mode, GitHub issue 1440 from Amos Bird. nicm 2018-08-20 13:51:09 +00:00
  • bf03197e18 Merge branch 'obsd-master' Thomas Adam 2018-08-19 21:40:26 +01:00
  • cac4eadca0 Add a flag to force redrawing of the status line even if the content hasn't changed, needed for resizing. nicm 2018-08-19 20:13:07 +00:00
  • 3310972d75 Merge branch 'obsd-master' Thomas Adam 2018-08-19 21:02:37 +01:00
  • d95fad3d5f Expand \u and \U escape sequences in command strings, from Christopher Hunt in GitHub issue 1443. nicm 2018-08-19 19:03:46 +00:00
  • 9ecf657703 Merge branch 'obsd-master' Thomas Adam 2018-08-19 19:02:40 +01:00
  • 88327c7698 Add a client redraw-window flag instead of the redraw-all flag and for all just use the three flags together (window, borders, status). nicm 2018-08-19 16:45:03 +00:00
  • e811132b05 Merge branch 'obsd-master' Thomas Adam 2018-08-18 23:02:40 +01:00
  • bd2896b65e SESSION_UNATTACHED flag is no longer necessary now we have an attached count instead. nicm 2018-08-18 20:08:52 +00:00
  • 522d751eee Merge branch 'obsd-master' Thomas Adam 2018-08-18 19:02:39 +01:00
  • 3bc08b0dc0 Some tidying and helper functions. nicm 2018-08-18 16:14:03 +00:00
  • af679326b2 Now master again. Nicholas Marriott 2018-08-17 11:46:08 +01:00
  • aa6e6fa0f2 2.8. Nicholas Marriott 2018-08-17 11:45:40 +01:00
  • 9bdbe171b7 2.8-rc. Nicholas Marriott 2018-08-17 11:31:16 +01:00
  • 98a3c98c28 Merge branch 'obsd-master' Thomas Adam 2018-08-17 11:20:20 +01:00
  • de2ddddd60 Add a full stop. Nicholas Marriott 2018-08-17 10:30:04 +01:00
  • a9ffb56b65 Add the KEYC_XTERM flag to all function keys that imply a modifier so that they are correctly translated into xterm(1)-style keys. GitHub issue 1437. nicm 2018-08-16 14:04:03 +00:00
  • 14b97fc889 Add size to arguments struct too. nicm 2018-08-14 11:38:05 +00:00
  • d0a600ccaa Some tidying, use a struct for arguments (there will be more later) and add a helper function. nicm 2018-08-14 11:31:34 +00:00
  • a368548645 Merge branch 'obsd-master' Thomas Adam 2018-08-10 11:41:07 +01:00
  • 13fe06a459 Update CHANGES. Nicholas Marriott 2018-08-10 10:21:40 +01:00
  • 87e87030fe Whoops, didn't mean to commit this. nicm 2018-08-09 09:54:22 +00:00
  • a5ef1f2ed6 Bump the UTF-8 character array up to 18 to allow for more combining characters (some languages use up to five). This size doesn't make as much difference now that UTF-8 goes into an extended cell. GitHub issue 1430. nicm 2018-08-09 09:53:44 +00:00
  • 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