Commit Graph

  • 621bb15b83 Cast parameters to tparm, from Christos Zoulas via Leonardo Taccari. Nicholas Marriott 2018-09-05 08:41:33 +01:00
  • 8e24b0bb3e Makefile.am: Add space between -f and argument Thomas Adam 2018-09-04 13:13:32 +01:00
  • 0c07b10b30 Merge branch 'obsd-master' Thomas Adam 2018-09-03 11:02:39 +01:00
  • 8f9491ddfe Allow a large line number to go to the end with goto-line, from Mark Kelly in GitHub issue 1460. nicm 2018-09-03 08:51:43 +00:00
  • 9bab73f489 Fix selection test, from Takeshi Banse. nicm 2018-09-03 08:47:27 +00:00
  • 4e867202e8 Add to TODO. Nicholas Marriott 2018-08-31 14:10:51 +01:00
  • e27b588b6c Merge branch 'obsd-master' Thomas Adam 2018-08-29 21:02:37 +01:00
  • 479cac4896 Fix target line for fast path in tty_draw_pane. Nicholas Marriott 2018-08-29 20:52:27 +01:00
  • 95e3e363ff Reset line flag when clearing selection, GitHub issue 1454. nicm 2018-08-29 18:54:23 +00:00
  • 7637518b07 Fix refresh-client flags. Nicholas Marriott 2018-08-29 18:59:43 +01:00
  • 9263a65b5f Update TODO. Nicholas Marriott 2018-08-29 18:52:04 +01:00
  • b29028a914 Merge branch 'obsd-master' Thomas Adam 2018-08-29 13:02:38 +01:00
  • 1ea17a72f0 Merge branch 'obsd-master' Thomas Adam 2018-08-29 11:02:36 +01:00
  • f57aa143c1 Keep any text killed in the command prompt with C-w and yank it with C-y, only use the top buffer if no text has previously been killed. This and previous change promped by discussion with kn@. nicm 2018-08-29 09:50:32 +00:00
  • e53094bc5f Add C-Left and C-Right as aliases for M-b and M-f. nicm 2018-08-29 08:56:51 +00:00
  • 18b611bc8d Merge branch 'obsd-master' Thomas Adam 2018-08-27 13:02:38 +01:00
  • 79d2351ce8 Memory leaks, from Gang Fan in GitHub issue 1453. nicm 2018-08-27 11:03:34 +00:00
  • 79a9472dbc tty_clamp_* need to use wp->xoff and wp->yoff for the check (which don't include status line, line ox and oy), but ctx->xoff and yp->off to calculate the position (which do have the statu line). Nicholas Marriott 2018-08-26 14:10:39 +01:00
  • d64daf874f Merge branch 'obsd-master' Thomas Adam 2018-08-26 11:02:38 +01:00
  • 1b4402c823 Add q: format prefix to escape sh(1) special characters. Suggested by someone ages ago and then more recently in GitHub issue 1449. nicm 2018-08-26 09:28:42 +00:00
  • 7fbd2f5498 Do not draw cells which have no cell (zoomed and they are not active). Nicholas Marriott 2018-08-25 13:55:50 +01:00
  • 45841400f2 Merge branch 'obsd-master' Thomas Adam 2018-08-23 21:02:36 +01:00
  • f38b5a1b58 all_jobs can be static. nicm 2018-08-23 18:39:12 +00:00
  • da5d563375 Merge branch 'obsd-master' Thomas Adam 2018-08-23 19:02:40 +01:00
  • bceccc6b63 Move job struct into job.c. nicm 2018-08-23 15:45:05 +00:00
  • 183193bdbc Update CHANGES. Nicholas Marriott 2018-08-23 08:52:22 +01:00
  • 5b93f0fcd3 Merge branch 'obsd-master' Thomas Adam 2018-08-22 23:02:43 +01:00
  • ee3e0eb183 Update TODO. Nicholas Marriott 2018-08-22 21:29:30 +01:00
  • 55db3623bf Add StatusLeft and StatusRight mouse key modifiers for the left and right parts of the status line. nicm 2018-08-22 20:06:14 +00:00
  • db8849e7ca Update TODO. Nicholas Marriott 2018-08-21 09:29:12 +01:00
  • bfc9fb4b3b Add flags to refresh-client (-U -D -L -R and -c) to pan a window that is larger than the client manually. Bound to S-Up, S-Down, S-Left, S-Right and Delete manually. Nicholas Marriott 2018-08-21 09:27:19 +01:00
  • 314ee137a9 The stored mouse position should not include the status line offset if any. Nicholas Marriott 2018-08-21 09:07:25 +01:00
  • f36d2ecb07 Merge branch 'obsd-master' Thomas Adam 2018-08-20 23:02:38 +01:00
  • 98a478ceb3 Move offset of window list into status struct. nicm 2018-08-20 20:41:58 +00:00
  • 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