Commit Graph

  • 71bc255e6f Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-05-09 22:34:15 +01:00
  • 8f990c573c Update TODO. Nicholas Marriott 2017-05-09 22:33:39 +01:00
  • 3f1d6102f3 Merge branch 'obsd-master' Thomas Adam 2017-05-09 20:01:10 +01:00
  • 3712b41aba If the target pane for send-keys in in a mode with a key table (that is, copy mode), then look the key up in the table and fire any command instead of delivering the key to the pane directly where it will be ignored. This makes C-b C-b (send-prefix) work in copy mode again. nicm 2017-05-09 17:56:55 +00:00
  • 4bcb64f8c1 Merge branch 'obsd-master' Thomas Adam 2017-05-09 15:44:33 +01:00
  • a651b08a2f Merge branch 'obsd-master' Thomas Adam 2017-05-09 15:44:13 +01:00
  • 3b35daacf7 If the current screen was complex enough, it was possible to make redraw itself hit the "terminal can't keep up" check. To avoid this, record how much data we send during redraw (we know we will be starting with 0) and skip the check until it has been flushed. GitHub issue 912. nicm 2017-05-09 13:04:36 +00:00
  • 18f36906a9 Set current pane in rotate-window. nicm 2017-05-09 11:00:48 +00:00
  • 5fee4638e0 Add a format for the name of the pane's mode, lets it be used as a conditional for key bindings. nicm 2017-05-07 22:27:57 +00:00
  • d52f579fd5 Up to now, tmux sees \033\033[OA as M-Up and since we turned on xterm-keys by default, generates \033[1;3A instead of \033\033[OA. Unfortunately this confuses vi, which doesn't understand xterm keys and now sees Escape+Up pressed within escape-time as Escape followed by A. nicm 2017-05-07 21:25:59 +00:00
  • 2fef10b9ac Add some formats to look at the session window stack, suggested by Scott ROCHFORD. nicm 2017-05-05 11:59:47 +00:00
  • f3221941f2 Merge branch 'obsd-master' Thomas Adam 2017-05-04 10:01:12 +01:00
  • d98d316903 Some new notifications, mainly for active pane and current window and session: nicm 2017-05-04 07:16:43 +00:00
  • 97ecb4f9d8 Merge branch 'obsd-master' Thomas Adam 2017-05-03 08:01:14 +01:00
  • ca6a121e63 Add a format for the last search string in copy mode and fix the prompt so it can work when in -I, suggested by Suraj N Kurapati. nicm 2017-05-03 05:53:34 +00:00
  • e354b0e40f Merge branch 'obsd-master' Thomas Adam 2017-05-01 14:01:14 +01:00
  • 0ccfb61bb0 In order that people can use formats like #D in #() in the status line and not have to wait for an update when they change pane, we allow commands to run more than once a second if the expanded form changes. Unfortunately this can mean them being run far too often (pretty much continually) when multiple clients exist, because some formats (including #D) will always differ between clients. nicm 2017-05-01 12:20:55 +00:00
  • 4b39120d22 .NOTPARALLEL. Nicholas Marriott 2017-04-30 13:55:32 +01:00
  • 76950a6401 Add regress/Makefile. Nicholas Marriott 2017-04-30 13:47:25 +01:00
  • 909d962d3a Make example match reality; Greg Hurrell. Nicholas Marriott 2017-04-30 08:27:23 +01:00
  • dde53cfde1 Add to TODO. Nicholas Marriott 2017-04-30 08:23:14 +01:00
  • 0adb60b3a6 Merge branch 'obsd-master' Thomas Adam 2017-04-30 00:01:17 +01:00
  • a2dd7daf4e Fix UTF-8 combining characters in column 0, based on a diff from Keith Winstein. nicm 2017-04-29 21:27:46 +00:00
  • 3a8e56b282 Merge branch 'obsd-master' Thomas Adam 2017-04-28 22:01:18 +01:00
  • 36202a63e9 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-04-28 20:22:31 +01:00
  • abad809e7a Test that kill-session closes the panes (processes end up dead). Nicholas Marriott 2017-04-28 20:22:01 +01:00
  • 0f2f783584 Log what is happening with window and session reference counts much more obviously. nicm 2017-04-28 19:13:55 +00:00
  • bcd6b41674 Remove a reference from the right window when removing from a winlink's list. nicm 2017-04-28 19:12:15 +00:00
  • 92053cb492 Do not put the window on the alerts queue and add a reference unless the alert is enabled and we are actually going to add the alerts event. nicm 2017-04-28 19:10:48 +00:00
  • 14cb489a3b Merge branch 'obsd-master' Thomas Adam 2017-04-28 20:01:14 +01:00
  • 54e2205e54 Konsole incorrectly ignores SU (CSI S) if the parameter is bigger than the scroll region, so clamp it. Reported by Moritz Bunkus. nicm 2017-04-28 17:58:44 +00:00
  • 99b0f48b2e Merge branch 'obsd-master' Thomas Adam 2017-04-28 16:01:12 +01:00
  • c12711affd Default for xterm-keys was wrong, stop documenting it. nicm 2017-04-28 13:39:59 +00:00
  • e4b4125310 source-file too. Nicholas Marriott 2017-04-27 13:14:14 +01:00
  • 6b2d850e54 Tests for some new session and new window bits. Nicholas Marriott 2017-04-27 13:09:08 +01:00
  • 0daeefefdb Merge branch 'obsd-master' Thomas Adam 2017-04-25 20:01:11 +01:00
  • d520dae6ac Make full width panes try to play more nicely with terminal copy and paste by avoiding explicit line wraps if we think the terminal will wrap anyway. nicm 2017-04-25 18:30:29 +00:00
  • 03d01eabb5 When we write out the grid including escape sequences, an SGR 0 needs to cause the colours to be written again. Also treat colours separately from attributes so that RGB colours will work. nicm 2017-04-25 18:20:51 +00:00
  • 65d6278f88 Merge branch 'obsd-master' Thomas Adam 2017-04-25 18:01:11 +01:00
  • c48d09ec88 Do not update TERM into config file parsing has finished. nicm 2017-04-25 15:35:10 +00:00
  • 4a51a9d9d5 Block the initial client if there is one until the configuration file has finished loading. nicm 2017-04-25 14:46:23 +00:00
  • b938212563 Another test. Nicholas Marriott 2017-04-25 15:40:10 +01:00
  • accaff8ac0 Remove stuff from TODO. Nicholas Marriott 2017-04-25 14:31:05 +01:00
  • 45965fb020 And another test. Nicholas Marriott 2017-04-25 14:30:58 +01:00
  • 6ac39d5cdb Merge branch 'obsd-master' Thomas Adam 2017-04-25 14:01:16 +01:00
  • 9794c03537 And another. Nicholas Marriott 2017-04-25 13:50:44 +01:00
  • 1b221a56ea Try to start writing test scripts. Nicholas Marriott 2017-04-25 13:37:03 +01:00
  • eb6fd6ff80 if-shell doesn't need to queue its error message into a callback, and in fact it can't do so because the item it was working with will have been freed. Reported by Daniel Hahler. nicm 2017-04-25 11:49:35 +00:00
  • 9d041d8e6c Merge branch 'obsd-master' Thomas Adam 2017-04-23 20:01:13 +01:00
  • 5172014668 Only use ED for clear screen if at the bottom, same as earlier fix to clear end of screen. nicm 2017-04-23 18:13:24 +00:00
  • b853054e71 Merge branch 'obsd-master' Thomas Adam 2017-04-22 16:01:19 +01:00
  • a6a294c8f8 Merge branch 'obsd-master' Thomas Adam 2017-04-22 14:01:15 +01:00
  • 1e0eb914d9 Memory leak from David CARLIER. nicm 2017-04-22 12:55:06 +00:00
  • ae1a6c2fc5 Do not need getopt.h. nicm 2017-04-22 12:08:41 +00:00
  • e802b683ea Merge branch 'obsd-master' Thomas Adam 2017-04-22 12:01:19 +01:00
  • 55cd4c7bc7 Can't collect UTF-8 characters of more than one byte at the moment. nicm 2017-04-22 10:30:56 +00:00
  • a4eaac359a new -A should use the session name. nicm 2017-04-22 10:26:44 +00:00
  • ee45a8a149 Get rid of the extra layer of flags and cmd_prepare() and just store the CMD_FIND_* flags in the cmd_entry and call it for the command. Commands with special requirements call it themselves and update the target for hooks to use. nicm 2017-04-22 10:22:39 +00:00
  • b08e451c91 Merge branch 'obsd-master' Thomas Adam 2017-04-22 10:01:51 +01:00
  • 2c0f826c36 Mouse bindings and hooks set up an initial current state when running a command. This is used for the session, window and pane for all commands in the command sequence if there is no -t or -s. nicm 2017-04-22 08:56:24 +00:00
  • bcab77e266 We need to collect UTF-8 characters so that width != 1 characters are correctly flushed. nicm 2017-04-22 08:33:28 +00:00
  • d8398af770 Merge branch 'obsd-master' Thomas Adam 2017-04-22 08:01:54 +01:00
  • 30348edc7c Fix if-shell without a client (so in the config file). Reported by Theo Buehler. nicm 2017-04-22 06:27:15 +00:00
  • 59ff9b8128 Typo in example. nicm 2017-04-22 06:15:22 +00:00
  • 2c9bdd9e32 Memory leaks, from David CARLIER. nicm 2017-04-22 06:13:30 +00:00
  • 21240c1a8f Merge branch 'obsd-master' Thomas Adam 2017-04-22 00:01:11 +01:00
  • c8ecbf38ab Log error properly when no current state, and some other minor tweaks. nicm 2017-04-21 22:23:24 +00:00
  • 194a121ef6 Make sure cmd_find_from_* clear the state if they fail. nicm 2017-04-21 22:00:06 +00:00
  • 8867951144 Rename a variable. nicm 2017-04-21 21:02:26 +00:00
  • fd13731049 Merge branch 'obsd-master' Thomas Adam 2017-04-21 22:01:14 +01:00
  • c68ceca8cd Clear shared state if not filling it in. nicm 2017-04-21 20:34:05 +00:00
  • efaf4c16cf Make the cmd_find_* functions more obvious when looking for a client, rather than having it inside other functions. Should be no change to the way targets are resolved just yet. nicm 2017-04-21 20:26:34 +00:00
  • 2ad09ab5af Key needs to be initialized to zero now it has flags in it. nicm 2017-04-21 19:33:07 +00:00
  • 1f209ed030 Merge branch 'obsd-master' Thomas Adam 2017-04-21 20:01:18 +01:00
  • 3c876235cc Style nits and an unused struct. nicm 2017-04-21 18:18:17 +00:00
  • afa4e3ed9c Add cmd_find_from_winlink_pane and use it in a couple of places, and make functions that can't fail void. nicm 2017-04-21 17:22:20 +00:00
  • c376c5a817 Merge branch 'obsd-master' Thomas Adam 2017-04-21 18:01:11 +01:00
  • 92a77e7654 It is annoying that the copy mode key table (or any other key table) will suppress root key table bindings. So change to always check the root table if no binding is found in the current table (whether it be the prefix table from pressing the prefix or the copy mode table from a pane). nicm 2017-04-21 16:04:18 +00:00
  • 4612419c14 Merge branch 'obsd-master' Thomas Adam 2017-04-21 16:01:18 +01:00
  • c799425069 More unnecessary arguments now winlink points back to session. nicm 2017-04-21 14:09:44 +00:00
  • 428be9803c History needs to be loaded after config parsing is done - now that commands are queued, that's in cfg_done not after start_cfg finishes. nicm 2017-04-21 14:04:54 +00:00
  • bba588752f Store state shared between multiple commands in the queue in a shared structure. nicm 2017-04-21 14:01:19 +00:00
  • 311dad8c28 Do not run the config file in the context of the first client, instead use no client like we did before. This means commands like new-session won't try to attach if they are in the config file. nicm 2017-04-21 13:15:43 +00:00
  • 93062ad099 Fix after merge Thomas Adam 2017-04-21 09:29:22 +01:00
  • 22e594fcea Merge branch 'obsd-master' Thomas Adam 2017-04-21 09:25:07 +01:00
  • 02580ac134 Typo; Daniel Hahler. Nicholas Marriott 2017-04-21 06:49:38 +01:00
  • b723f50e65 Do not need getopt.h for getopt, from Eric N Vander Weele. Nicholas Marriott 2017-04-20 20:35:11 +01:00
  • 4a2e75fc8c Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-04-20 19:09:36 +01:00
  • 9420758127 getptmfd() and fdforkpty() compat. Nicholas Marriott 2017-04-20 19:09:07 +01:00
  • 87997efe8d Use fdforkpty() instead of our own unwrapped versions. nicm 2017-04-20 17:49:26 +00:00
  • 69e0f28333 Merge branch 'obsd-master' Thomas Adam 2017-04-20 18:01:12 +01:00
  • 51a0dbb172 Only set up a current target for mouse key bindings. Fixes: nicm 2017-04-20 15:16:20 +00:00
  • 7934e7a6b5 Notes on target resolution. Nicholas Marriott 2017-04-20 15:40:28 +01:00
  • aebbb15fe2 Turn on debug if $VERSION is master rather than commenting and uncommenting. Nicholas Marriott 2017-04-20 12:06:39 +01:00
  • 48371216df Merge branch 'obsd-master' Thomas Adam 2017-04-20 12:01:14 +01:00
  • e30f9dc1fa Merge tag '2.4' Nicholas Marriott 2017-04-20 11:59:07 +01:00
  • f21cb71fbe Enter date of release. 2.4 Nicholas Marriott 2017-04-20 11:52:16 +01:00
  • 990218739a Missing :. Nicholas Marriott 2017-04-20 11:03:23 +01:00
  • e7c2f53f2a Changes to CHANGES. Nicholas Marriott 2017-04-20 11:00:15 +01:00
  • 21993105e5 Now that struct winlink has a session pointer, can remove some arguments. nicm 2017-04-20 09:43:45 +00:00