Commit Graph

  • 713f3b05f3 Improve some of the logging on resize. nicm 2017-02-08 13:53:32 +00:00
  • 9af5f3ff81 Give an example, from Timothee Cour. Nicholas Marriott 2017-02-08 11:52:42 +00:00
  • a9a0039be4 Merge branch 'obsd-master' Thomas Adam 2017-02-08 10:01:22 +00:00
  • cb80901d33 Log size of output buffer as well. nicm 2017-02-08 08:54:45 +00:00
  • 9cc02d1498 Trying to avoid the occasional newline by saving the last cell on screen is not actually helping us much and just adds complexity, so don't bother. nicm 2017-02-08 08:50:10 +00:00
  • acb4bd9e56 Tweak how much we expand lines by. nicm 2017-02-08 08:26:35 +00:00
  • 35a0606de1 Remove event watermarks, don't work well enough to be worth it. nicm 2017-02-08 08:25:12 +00:00
  • 5aaf640629 Merge branch 'obsd-master' Thomas Adam 2017-02-07 20:01:14 +00:00
  • c0a34821c1 Do not clear the scroll region, instead set it to the scroll region we actually want. nicm 2017-02-07 18:27:46 +00:00
  • 20f5e377fb Remove a debugging leftover. nicm 2017-02-07 18:06:42 +00:00
  • 178289fb4c Merge branch 'obsd-master' Thomas Adam 2017-02-07 18:01:13 +00:00
  • 6ea36afc4b DECSLRM in xterm(1) appears to have a quirk where it can generate an extra scroll of the entire terminal; issuing DECSTBM first prevents this. Do that for now. nicm 2017-02-07 17:13:28 +00:00
  • 97fd291079 Merge branch 'obsd-master' Thomas Adam 2017-02-07 16:01:13 +00:00
  • 9491a5c1cf Unfortunately DECFRA does not handle default colours properly (it does not reset colours when in SGR 0), so we can't use it without more trouble than it is worth. Abandon the idea for now. nicm 2017-02-07 14:33:37 +00:00
  • 8872a0da8e Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-02-07 13:41:17 +00:00
  • 0f5a2c86da Look for libtinfo before libncurses. Nicholas Marriott 2017-02-07 13:40:36 +00:00
  • 9f66fb4fd7 Merge branch 'obsd-master' Thomas Adam 2017-02-07 00:01:13 +00:00
  • d60e585d9e Use DECFRA on VT420 compatible terminals (so, xterm) and ED on all others for clearing panes. nicm 2017-02-06 22:05:11 +00:00
  • dfdc23d86c Merge branch 'obsd-master' Thomas Adam 2017-02-06 22:01:16 +00:00
  • 7417e391d5 Merge branch 'obsd-master' Thomas Adam 2017-02-06 20:01:15 +00:00
  • 68e04907de Do not go through the whole attributes setting process if the new cell is the same as the previous one. nicm 2017-02-06 19:45:23 +00:00
  • 10e14ae504 Add BCE for clear to start of screen, which was somehow missed. nicm 2017-02-06 19:26:49 +00:00
  • 1199f8fc59 Merge branch 'obsd-master' Thomas Adam 2017-02-06 16:01:20 +00:00
  • e67548dc36 Cancel key table when switching session, unless the key is going to repeat. Reported by Amos Bird. nicm 2017-02-06 15:00:41 +00:00
  • 446177a832 Merge branch 'obsd-master' Thomas Adam 2017-02-06 14:01:16 +00:00
  • 4eabd7ec90 Do not declare program_invocation_short_name because people can't make up their mind what type it should be. Nicholas Marriott 2017-02-06 13:34:19 +00:00
  • d150d9b384 Fix logging of CSI parameters. nicm 2017-02-06 13:25:15 +00:00
  • 3fd34e70e5 Only redraw the modified character when adding combining characters, not the whole line. nicm 2017-02-06 13:23:00 +00:00
  • 50f25a8f05 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-02-06 10:06:14 +00:00
  • c7c1018e9b Update sys/queue.h from OpenBSD. Nicholas Marriott 2017-02-06 10:05:56 +00:00
  • 7bccc82284 Merge branch 'obsd-master' Thomas Adam 2017-02-05 02:01:12 +00:00
  • d091253a5d Missing va_end, from Anton Lindqvist. nicm 2017-02-04 23:42:53 +00:00
  • e1c283325e Merge branch 'obsd-master' Thomas Adam 2017-02-03 22:01:18 +00:00
  • 5e6a8177e5 Cache status line position to reduce option lookups during output. nicm 2017-02-03 21:01:02 +00:00
  • 75adf8368a Expand lines more aggressively to reduce rate of allocations. nicm 2017-02-03 20:53:03 +00:00
  • 6c333cc486 Merge branch 'obsd-master' Thomas Adam 2017-02-03 14:01:13 +00:00
  • 7d23d019c0 Add a window or pane id "tag" to each format tree and use it to separate jobs, this means that if the same job is used for different windows or panes (for example in pane-border-format), it will be run separately for each pane. nicm 2017-02-03 11:57:27 +00:00
  • 9b1f620aa0 Merge branch 'obsd-master' Thomas Adam 2017-02-01 12:01:18 +00:00
  • dd0c814779 Implement "all event" (1003) mouse mode but in a way that works. The main issue is that if we have two panes, A with 1002 and B with 1003, we need to set 1003 outside tmux in order to get all the mouse events, but then we need to suppress the ones that pane A doesn't want. This is easy in SGR mouse mode, because buttons == 3 is only used for movement events (for other events the trailing m/M marks a release instead), but in normal mouse mode we can't tell so easily. So for that, look at the previous event instead - if it is drag+release as well, then the current event is a movement event. nicm 2017-02-01 09:55:07 +00:00
  • 9b9a5a292d Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-01-31 12:52:50 +00:00
  • c54a5d9fb3 Add wchar.h to compat.h, from Koichi Shiraishi. Nicholas Marriott 2017-01-31 12:51:53 +00:00
  • d8da761d54 Merge branch 'obsd-master' Thomas Adam 2017-01-31 00:01:12 +00:00
  • 3408595f77 When a flag option is used in a format, it should use the number form not string. nicm 2017-01-30 21:41:17 +00:00
  • 9094f01c6b Merge branch 'obsd-master' Thomas Adam 2017-01-30 00:01:13 +00:00
  • b6099f31ea Add -n to break-pane. nicm 2017-01-29 22:10:55 +00:00
  • 4b482c95c3 Merge branch 'obsd-master' Thomas Adam 2017-01-28 18:01:12 +00:00
  • 54309cc25d Do not clear the key table when changing session on a client, so that switch-client and friends work with bind -n. nicm 2017-01-28 16:11:27 +00:00
  • 503af3df54 This link is better. Nicholas Marriott 2017-01-26 19:57:16 +00:00
  • b2e909b252 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-01-26 19:55:45 +00:00
  • a4367b44fb Add ISSUE_TEMPLATE. Nicholas Marriott 2017-01-26 19:55:16 +00:00
  • 78c0b96004 Merge branch 'obsd-master' Thomas Adam 2017-01-26 02:01:12 +00:00
  • 776ce8a9d5 Clear option before adding to array if no -a, reported by Michael Nickerson. nicm 2017-01-25 23:50:51 +00:00
  • ea70e68a51 -paths.h. Nicholas Marriott 2017-01-25 16:39:02 +00:00
  • 0f9354eec2 Bad merge. Nicholas Marriott 2017-01-25 16:38:13 +00:00
  • 21d8f77a0d Merge branch 'obsd-master' Thomas Adam 2017-01-25 16:01:13 +00:00
  • 163732e89f Revert previous for now, it will break TERM=screen. nicm 2017-01-25 14:36:08 +00:00
  • 0a63ab4f0f If xterm-keys is on, use xterm(1) style keys for Home and End as well as modified keys. nicm 2017-01-25 14:24:54 +00:00
  • 3e495b4001 compat/* should not include tmux.h. Nicholas Marriott 2017-01-25 13:49:01 +00:00
  • 418ab1a553 Merge branch 'obsd-master' Thomas Adam 2017-01-24 22:01:13 +00:00
  • ffc28a7765 Fix set -u on array options. nicm 2017-01-24 20:24:54 +00:00
  • 4b2821ff98 Make update-environment an array as well. nicm 2017-01-24 20:15:32 +00:00
  • b77dd75b57 Convert terminal-overrides to an array option. nicm 2017-01-24 20:05:15 +00:00
  • 16e43d6a42 Remove some lies about terminal-overrides from tmux.1. nicm 2017-01-24 20:01:34 +00:00
  • f38a6bbd81 Merge branch 'obsd-master' Thomas Adam 2017-01-24 20:01:12 +00:00
  • 126d364abe server-info can become an alias rather than a command. nicm 2017-01-24 19:59:19 +00:00
  • 85338bb75f Add support for custom command aliases, this is an array option which contains items of the form "alias=command". This is consulted when an unknown command is parsed. nicm 2017-01-24 19:53:37 +00:00
  • 61fce272ea If given an array option without an index either show or set all items, and support -a for array options. Allow the separator for set to be specified in the options table (will be used for backwards compatibility later). nicm 2017-01-24 19:11:46 +00:00
  • f1282a683d Merge branch 'obsd-master' Thomas Adam 2017-01-24 14:01:15 +00:00
  • c68ea386d1 pty.c needs compat.h. Nicholas Marriott 2017-01-24 13:34:08 +00:00
  • 3d74e89a39 Shorten a long line, and don't leak buffer in paste_add if size is zero. nicm 2017-01-24 13:28:33 +00:00
  • a3d5bfcece Define away pledge() on !OpenBSD. Nicholas Marriott 2017-01-23 12:27:58 +00:00
  • 1ebe79dd62 Use forkpty() except on OpenBSD. Nicholas Marriott 2017-01-23 12:26:06 +00:00
  • b3a724f30c Merge branch 'obsd-master' Thomas Adam 2017-01-23 12:20:43 +00:00
  • 98e7fbb2ac Open /dev/ptm before pledge() and save it to be used for PTMGET later (this means inlining forkpty()). nicm 2017-01-23 10:09:43 +00:00
  • d2eab39ffa Merge branch 'obsd-master' Thomas Adam 2017-01-22 20:01:12 +00:00
  • aa70f28069 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-01-22 19:14:10 +00:00
  • acf331f7f1 Add b64_pton as well. Nicholas Marriott 2017-01-22 19:12:15 +00:00
  • 4ede35c48c Accept the OSC 52 escape sequence inside tmux to add a new buffer, from harry dot gindi at live dot com. nicm 2017-01-22 19:00:01 +00:00
  • c17b0a202a Merge branch 'obsd-master' Thomas Adam 2017-01-20 16:01:11 +00:00
  • 46572ba904 Print error rather than fatal() if tcgetattr() fails, which is much more useful to user. nicm 2017-01-20 14:02:33 +00:00
  • 61af9d7cc2 Look for ncursesw as well as ncurses, based on a change from Bert van Hall. Nicholas Marriott 2017-01-19 15:31:22 +00:00
  • b98b4e23a3 Put version in log in portable tmux. Nicholas Marriott 2017-01-18 17:35:41 +00:00
  • 7e4908f751 If --enable-{utf8proc,utempter} is given, do not build without it. Nicholas Marriott 2017-01-18 14:32:50 +00:00
  • 787f9de5d8 vis.h comes from compat.h. Nicholas Marriott 2017-01-18 12:16:14 +00:00
  • 044999ce6d Merge branch 'obsd-master' Thomas Adam 2017-01-18 12:01:11 +00:00
  • faa0570309 Plain stravis() because it will mangle UTF-8 characters, so add utf8_stravis() which calls our existing utf8_strvis() and use it instead nicm 2017-01-18 10:08:05 +00:00
  • 6d37984f4f Merge branch 'obsd-master' Thomas Adam 2017-01-18 10:01:12 +00:00
  • 4bb5a1d6a7 Run arguments through vis() as well when printing them. nicm 2017-01-18 10:00:50 +00:00
  • 649c0d8e91 Do not reset idx, it has just been set. nicm 2017-01-18 08:43:21 +00:00
  • 373541104b options_match needs to explicitly check for user options. nicm 2017-01-18 08:40:50 +00:00
  • 64c486ae81 Merge branch 'obsd-master' Thomas Adam 2017-01-17 02:01:11 +00:00
  • 6b6b0e91d0 Correctly handle -style options without all of a corresponding -fg/-bg/-attr. nicm 2017-01-16 23:45:08 +00:00
  • c0346701df Fix VIS_DQ check. Nicholas Marriott 2017-01-16 18:20:50 +00:00
  • 7e110b9d99 Merge branch 'obsd-master' Thomas Adam 2017-01-16 15:36:02 +00:00
  • f20e3ee62c We need VIS_DQ in vis.h as well. Nicholas Marriott 2017-01-16 15:01:14 +00:00
  • ef15b4195f Revert WIP parts of previous I didn't mean to commit yet. nicm 2017-01-16 14:52:25 +00:00
  • 68db958477 getopt() has a struct option so just return to using options_entry. nicm 2017-01-16 14:49:14 +00:00
  • 997b11741c Remove vis.h which comes from compat. Nicholas Marriott 2017-01-16 12:09:04 +00:00
  • 7b60645732 Merge branch 'obsd-master' Thomas Adam 2017-01-16 00:01:10 +00:00
  • c9fcb76651 Merge branch 'obsd-master' Thomas Adam 2017-01-15 22:01:11 +00:00