Commit Graph

  • 67d2335130 Fix a couple of argument types. nicm 2017-03-17 14:51:41 +00:00
  • 481e48d119 Add h and l for collapse and expand in choose mode with vi(1) keys, from Gregory Pakosz. nicm 2017-03-17 14:41:54 +00:00
  • 1ea19245b3 Merge branch 'obsd-master' Thomas Adam 2017-03-16 22:01:18 +00:00
  • b69efbdd30 Redraw after killp -a. nicm 2017-03-16 20:05:14 +00:00
  • 0dd694f5fd Merge branch 'obsd-master' Thomas Adam 2017-03-15 16:01:13 +00:00
  • 2a9d697771 Invalidate the cursor when we think we should have wrapped. nicm 2017-03-15 15:22:14 +00:00
  • 4e809a3130 Merge branch 'obsd-master' Thomas Adam 2017-03-15 10:01:11 +00:00
  • 3c3c08b6d9 Try to avoid moving the cursor to the start of the next line when printing cells if it is already at the very end of the line and the terminal will wrap it to the next line itself, this means terminals still see it as a wrapped line for the purposes of their own mouse selection. Reported by millert@. nicm 2017-03-15 09:21:21 +00:00
  • cc6c6edb6f Merge branch 'obsd-master' Thomas Adam 2017-03-13 18:01:13 +00:00
  • 8e9b10062b Log where panes are created. nicm 2017-03-13 17:20:11 +00:00
  • 12c6c723a9 Merge branch 'obsd-master' Thomas Adam 2017-03-13 12:01:13 +00:00
  • fd65210139 Revert previous, breaks normal short targets, reported by Theo Buehler. nicm 2017-03-13 10:53:32 +00:00
  • 266e662fae Merge branch 'obsd-master' Thomas Adam 2017-03-11 16:01:12 +00:00
  • d455da45eb Fix calculation of size for full size splits. nicm 2017-03-11 15:16:35 +00:00
  • 0fe3b739a1 Only look for window and pane parts of target as a sesson and window if they look like an ID. nicm 2017-03-11 15:16:08 +00:00
  • 392253f032 Merge branch 'obsd-master' Thomas Adam 2017-03-10 00:01:16 +00:00
  • 385a361bf8 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-03-09 22:21:29 +00:00
  • a24cf4a5e1 Can only check for one with AC_CHECK_LIB. Nicholas Marriott 2017-03-09 22:21:12 +00:00
  • 55e73e3612 Clear the bracket paste mode when in the command prompt. nicm 2017-03-09 22:00:46 +00:00
  • c5bdae466e Merge branch 'obsd-master' Thomas Adam 2017-03-09 18:01:16 +00:00
  • bce1dee034 Move the client identify (display-panes) code into server-client.c. nicm 2017-03-09 17:06:35 +00:00
  • dbfee6a468 Move server_fill_environ into environ.c and move some other common code into it. nicm 2017-03-09 17:02:38 +00:00
  • fd96ccfd80 No extra : for errx and warnx. Nicholas Marriott 2017-03-09 16:49:37 +00:00
  • b79df1dc29 Compat code for strndup and strnlen. Nicholas Marriott 2017-03-09 15:43:08 +00:00
  • 180ebf0208 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-03-09 15:39:36 +00:00
  • 514a723f74 Solaris fixes, mostly from Dagobert Michelsen. Nicholas Marriott 2017-03-09 15:39:13 +00:00
  • 92434b0afd Merge branch 'obsd-master' Thomas Adam 2017-03-08 22:01:19 +00:00
  • e8f2609ca4 Skip over padding cells when moving the cursor left or right. nicm 2017-03-08 20:05:25 +00:00
  • 41a01fc629 Merge branch 'obsd-master' Thomas Adam 2017-03-08 16:01:15 +00:00
  • 41b31fe240 Handle empty options correctly. nicm 2017-03-08 14:43:40 +00:00
  • 78ca1b0265 Always send smkx to the terminal outside, the keys we get from terminfo are the keys when it is on. nicm 2017-03-08 14:34:35 +00:00
  • 3ea36830f3 Merge branch 'obsd-master' Thomas Adam 2017-03-08 14:01:23 +00:00
  • 6b2009ad72 Add a helper function for the most common format_create/defaults/expand pattern. nicm 2017-03-08 13:36:12 +00:00
  • 5d3296c53b Merge branch 'obsd-master' Thomas Adam 2017-03-07 15:32:28 +00:00
  • 1e6e606f54 Need to flush before writing out cells we are not collecting, also add some extra logging. nicm 2017-03-07 13:48:28 +00:00
  • daac28febb If moving cells outside the current used count, update it. nicm 2017-03-07 13:47:56 +00:00
  • 69257bc0aa Merge branch 'obsd-master' Thomas Adam 2017-03-06 10:01:21 +00:00
  • 8684e60f51 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-03-06 09:26:16 +00:00
  • fa27cbd035 Expand on OS X faffing, based on a diff from Kurtis Rader. Nicholas Marriott 2017-03-06 09:24:41 +00:00
  • dc8fefe902 Collect strings correctly when on terminals that don't support UTF-8. nicm 2017-03-06 09:02:59 +00:00
  • fba9ebcc0c When redrawing a combined UTF-8 characters in its existing position, need to save and restore the cursor so that the next character goes into the right place. nicm 2017-03-06 09:02:36 +00:00
  • 48a3dba6b9 Merge branch 'obsd-master' Thomas Adam 2017-02-27 14:01:20 +00:00
  • 2fa16eee53 Change to vim(1) script by Eric Pruitt. Nicholas Marriott 2017-02-27 13:21:04 +00:00
  • e741a0bcd7 If splitw -b is used, insert the new pane before the current one in the pane list. This means the numbering is in order (for example for display-panes) and fixes a problem with redrawing the active pane borders. nicm 2017-02-27 13:07:57 +00:00
  • 14dc2acc25 Merge branch 'obsd-master' Thomas Adam 2017-02-22 10:01:12 +00:00
  • 0414b1fc78 Minor bits: fix an array size, add comment, make grid_cell_entry static. nicm 2017-02-22 09:01:32 +00:00
  • 4b112c19f1 Merge branch 'obsd-master' Thomas Adam 2017-02-21 18:01:12 +00:00
  • 8a0b279c31 Change pane redraw to collect cells up as well, and simplify it a bit. nicm 2017-02-21 16:25:04 +00:00
  • 6b45464120 Merge branch 'obsd-master' Thomas Adam 2017-02-21 16:01:15 +00:00
  • 27ee34e7fa Don't need is1,is2,is3 so remove them. nicm 2017-02-21 14:18:12 +00:00
  • e9819eef3c Merge branch 'obsd-master' Thomas Adam 2017-02-21 12:01:16 +00:00
  • 9e4c5133c8 Scrolling at least needs to be flushed before sending EL to the terminal (but it is simpler to flush everything, so do that instead). nicm 2017-02-21 10:30:15 +00:00
  • 11e7915195 Reflect OBSD Makefile changes in Makefile.am Thomas Adam 2017-02-21 09:24:53 +00:00
  • 0ad2beae7e Merge branch 'obsd-master' Thomas Adam 2017-02-21 09:23:50 +00:00
  • 55e76edd3c Improve NetBSD KERN_PROC2 bit, mostly from Kamil Rytarowski. Nicholas Marriott 2017-02-19 08:31:05 +00:00
  • f27e1d07fc Add SGR 28 to clear hidden flag. nicm 2017-02-19 07:55:11 +00:00
  • 203d604bf7 Add to TODO. Nicholas Marriott 2017-02-17 10:52:40 +00:00
  • ee7acde149 Update TODO. Nicholas Marriott 2017-02-16 15:06:20 +00:00
  • 82db1fa9e5 There are buggy terminals out there that do not move the cursor to 0,0 after CSR, so invalidate the cursor position rather than assuming 0,0. nicm 2017-02-16 12:56:01 +00:00
  • c948c6b697 Handle insert cells when cursor at edge of screen correctly, and do a full flush before insert. nicm 2017-02-16 12:43:08 +00:00
  • c889e11375 Merge clear-history into capture-pane. nicm 2017-02-16 12:18:38 +00:00
  • f734d81074 Merge branch 'obsd-master' Thomas Adam 2017-02-16 12:01:21 +00:00
  • 8b8d0963da Style nits. nicm 2017-02-16 10:53:25 +00:00
  • c9f2dc5ee5 Merge branch 'obsd-master' Thomas Adam 2017-02-15 12:01:15 +00:00
  • dd25a6cdc2 Do not clear to end of screen unless the pane is at the bottom. nicm 2017-02-15 11:22:13 +00:00
  • 47bc867ab9 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-02-15 10:34:38 +00:00
  • b9b7daf3b2 Copy 24-bit-color.sh from iTerm2. Nicholas Marriott 2017-02-15 10:34:20 +00:00
  • 631a89954f Merge branch 'obsd-master' Thomas Adam 2017-02-15 10:01:17 +00:00
  • 36734afdd8 Hide or fix some warnings. Nicholas Marriott 2017-02-15 08:54:21 +00:00
  • 640d9e54b7 "status bar" -> "status line" for consistency, from Benjamin Dopplinger. nicm 2017-02-15 08:47:55 +00:00
  • 2b4c144f96 Remove vis.h. Nicholas Marriott 2017-02-15 08:37:11 +00:00
  • ba3c1534e0 Merge branch 'obsd-master' Thomas Adam 2017-02-14 20:01:12 +00:00
  • e340df2034 Make source-file look for files relative to the client working directory (like load-buffer and save-buffer), from Chris Pickel. Also break the where-is-this-file code out into its own function for loadb and saveb. nicm 2017-02-14 18:13:05 +00:00
  • 02e04477de Merge branch 'obsd-master' Thomas Adam 2017-02-14 13:55:16 +00:00
  • 4c2a78029d Collected cells may still need to be extended for RGB colours. nicm 2017-02-13 16:05:30 +00:00
  • 921880e00b Add not delete the event if more to write. nicm 2017-02-10 15:39:43 +00:00
  • d22c15107b Don't use a bufferevent for the tty, so we can keep better track of what is being written and when. nicm 2017-02-10 12:59:18 +00:00
  • c6a3446398 Instead of numbering session groups, give them a name which may be given to -t instead of a target session. Also allow them to contain only one session. nicm 2017-02-09 15:04:53 +00:00
  • 8de4c15dfa Document refresh-client -C. nicm 2017-02-09 14:49:00 +00:00
  • c75cced07d Add to TODO. Nicholas Marriott 2017-02-09 14:40:30 +00:00
  • 96ad1d7779 Merge branch 'obsd-master' Thomas Adam 2017-02-09 14:01:18 +00:00
  • b1fa3e25e4 Break the message storage function into its own function, useful for debugging. nicm 2017-02-09 12:09:33 +00:00
  • cb50a51127 Merge branch 'obsd-master' Thomas Adam 2017-02-09 12:01:12 +00:00
  • b7ddfb39f3 Don't lie about the default size in the man page. nicm 2017-02-09 12:00:42 +00:00
  • ddb3750c8b Combining characters need a full flush. nicm 2017-02-09 10:09:14 +00:00
  • 79409dc1cc Merge branch 'obsd-master' Thomas Adam 2017-02-09 10:01:18 +00:00
  • fd6e46596d When an ordinary (not collected) cell is received, we need to flush any delayed scrolling before drawing it. nicm 2017-02-09 09:33:15 +00:00
  • 743f772bef Merge branch 'obsd-master' Thomas Adam 2017-02-09 02:01:17 +00:00
  • be033b1ed0 Merge branch 'obsd-master' Thomas Adam 2017-02-09 00:01:12 +00:00
  • 1811dc5271 Another helper function to write to terminal and log. nicm 2017-02-08 23:53:03 +00:00
  • 2f854969ff Do not adjust region lower by pane offset when scrolling up, it is already an absolute position. nicm 2017-02-08 22:42:07 +00:00
  • 130b77edc7 Merge branch 'obsd-master' Thomas Adam 2017-02-08 18:01:17 +00:00
  • 05802a6fe3 window_copy_pagedown shouldn't reset the mode anymore, instead let the caller do it so it can free the marks. Problem reported by attila at stalphonsos dot com. nicm 2017-02-08 17:33:51 +00:00
  • e100d465da Add support for scroll up escape sequence (CSI S) and use it when possible instead of sending individual line feeds. nicm 2017-02-08 17:31:09 +00:00
  • 13a0b6bb3f Collect sequences of printable ASCII characters and process them together instead of handling them one by one. This is significantly faster. Sequences are terminated when we reach the end of the line, fill the internal buffer, or a different character is seen by the input parser (an escape sequence, or UTF-8). nicm 2017-02-08 16:45:18 +00:00
  • d4b006b9fa Fix clear start of line. nicm 2017-02-08 16:18:20 +00:00
  • e09625e38b Merge branch 'obsd-master' Thomas Adam 2017-02-08 16:01:17 +00:00
  • 7475165cd8 Some other tidying bits. nicm 2017-02-08 15:49:29 +00:00
  • ac1f294bb9 Add a helper to store a cell, and some tidying. nicm 2017-02-08 15:41:41 +00:00
  • 96b66f8fc3 Remove unnecessary duplicate check. nicm 2017-02-08 15:24:48 +00:00