Commit Graph

  • 67b4d5b609 Support the latest theory for mouse input, this is enabled/disabled with SM/RM 1006 and is similar in style to SGR input: \033[<b;x;yM or \033[b;x;ym. From Egmont Koblinger. Nicholas Marriott 2013-03-22 10:33:50 +00:00
  • ad760b3bf7 Add client_session and client_last_session formats. Nicholas Marriott 2013-03-22 10:32:36 +00:00
  • 8d59b189cc No more lint means no more ARGSUSED. Nicholas Marriott 2013-03-22 10:31:22 +00:00
  • 306a3b8d80 In terminals with XT, turn on modifyOtherKeys=1 with the escape sequence and handle the most common set. Pass them through if xterm-keys is on. Nicholas Marriott 2013-03-22 10:30:04 +00:00
  • 041a911c43 Create a new context when copying instead of using the input context. The input context may not exist yet. Nicholas Marriott 2013-03-21 23:57:21 +00:00
  • 10682b9e7e Instead of loads of little screen_write_*_on and off functions which just change mode flags, just have screen_write_mode_set and screen_write_mode_clear. Nicholas Marriott 2013-03-21 18:47:56 +00:00
  • c5504af4a6 Add various checks to turn off bits that can't work in control mode (such as lock). Nicholas Marriott 2013-03-21 18:47:01 +00:00
  • 49ac5b5fe0 Do not include status line in size calculations in control mode. Nicholas Marriott 2013-03-21 18:46:12 +00:00
  • d4785fe798 Don't set key KEYC_NONE on xterm_keys_find match() Nicholas Marriott 2013-03-21 18:45:38 +00:00
  • 3d24c75d0f Include the \033 in the key tree and adjust key matching for this change. Nicholas Marriott 2013-03-21 18:44:47 +00:00
  • 78543cce30 Support capture-pane -p to send to stdout. Nicholas Marriott 2013-03-21 18:43:34 +00:00
  • 55bf2ecc68 tweak previous; ok nicm Jason McIntyre 2013-03-21 17:42:36 +00:00
  • 51ac2a3202 Fix a couple of memory leaks, from Romain Francoise. Nicholas Marriott 2013-03-21 16:54:37 +00:00
  • 48291f0eeb Make choose-tree actually work again. Nicholas Marriott 2013-03-21 16:53:12 +00:00
  • d5139d1401 Fix a comment for new key table names. Nicholas Marriott 2013-03-21 16:52:02 +00:00
  • 3665be7c44 Tidy by splitting default key tables into two. Nicholas Marriott 2013-03-21 16:50:22 +00:00
  • 801d64a16e Add -c to refresh-client to set client size in control mode, based on code from George Nachman. Nicholas Marriott 2013-03-21 16:49:37 +00:00
  • dd46c95e23 Aargh. Spaces -> tabs. Nicholas Marriott 2013-03-21 16:25:08 +00:00
  • 4920306486 Clarify choose-tree entry in man page. Nicholas Marriott 2013-03-21 16:23:46 +00:00
  • 66414029a1 Run session command before window in choose-tree. Nicholas Marriott 2013-03-21 16:23:07 +00:00
  • 51d989f5df Do not crash when calling choose-tree with a command that changes the mode. Nicholas Marriott 2013-03-21 16:22:48 +00:00
  • c982279950 Fix constness of cmd_template_replace, window_choose_add_item and window_choose_add_window. Nicholas Marriott 2013-03-21 16:19:25 +00:00
  • 0c0953f3bd Add user options, prefixed with @. May be set to any arbitrary string. Nicholas Marriott 2013-03-21 16:17:01 +00:00
  • 69fe5ca567 Add -v to set and setw to show only option value. Nicholas Marriott 2013-03-21 16:15:52 +00:00
  • 63b4fd5cac Add a format client_prefix which is 1 if prefix key has been pressed, used for example #{?client_prefix,X,Y}. Also a few extra server_client_status needed. Nicholas Marriott 2013-03-21 16:14:09 +00:00
  • dd76497ab0 Show alias in lscm output. Nicholas Marriott 2013-03-21 16:12:50 +00:00
  • 9b7e18f166 Rework reflow code so it does not do so much allocation which should be faster with large histories. Nicholas Marriott 2013-03-21 16:12:10 +00:00
  • 180faf73af Allow choose commands to be used outside tmux, so long as at least one client is attached. Nicholas Marriott 2013-03-21 16:09:59 +00:00
  • 6ddb06d372 Extend jobs to support writing and use that for copy-pipe instead of popen, from Chris Johnsen. Nicholas Marriott 2013-03-21 14:24:33 +00:00
  • 69d97f6d4b Handle empty pending output (not a failure) and add \n. From George Nachman. Nicholas Marriott 2013-03-19 09:34:00 +00:00
  • f5de847a0c Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-03-17 23:45:19 +00:00
  • 6bdc947f6b Handle no client better in display-message. Nicholas Marriott 2013-03-14 16:02:33 +00:00
  • 919bde7cb1 When only two panes in a window, only draw half the separating line as active. Nicholas Marriott 2013-03-14 12:08:26 +00:00
  • 3d974b7267 Don't let display-message crash if no client, from George Nachman. Nicholas Marriott 2013-03-14 07:31:20 +00:00
  • c5ad47ee7c Only send end guard if begin was sent, from George Nachman. Nicholas Marriott 2013-03-13 07:31:36 +00:00
  • 4d38b6d1fa Include prefix on ids, from George Nachman. Nicholas Marriott 2013-03-13 07:28:12 +00:00
  • 9e879b4aab Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-03-12 22:49:56 +00:00
  • 99934bf998 Write escaped output in control mode rather than hex, from George Nachman. Nicholas Marriott 2013-03-12 22:48:58 +00:00
  • 8840f2d629 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-03-12 14:59:27 +00:00
  • d32a546d6e Clarify zoom/unzoom, from Romain Francoise. Nicholas Marriott 2013-03-12 14:58:48 +00:00
  • 8aa40ec1c7 Don't zoom windows with one pane, from Romain Francoise. Nicholas Marriott 2013-03-12 12:18:52 +00:00
  • 543420ccd2 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-03-11 21:31:46 +00:00
  • 064022548b We ignore SIGWINCH until ready, so send a MSG_RESIZE immediately when becoming ready. Nicholas Marriott 2013-03-11 21:30:48 +00:00
  • 7c00950967 Don't add prefix to %output pane id. Nicholas Marriott 2013-03-11 15:28:34 +00:00
  • b5516771d3 Clean up capture-pane and add -P option to dump pending output, based on code from George Nachman. Nicholas Marriott 2013-03-11 13:47:29 +00:00
  • 7b4084a15a Document control mode in the manpage, from George Nachman. Nicholas Marriott 2013-03-11 13:06:30 +00:00
  • 412ac6bc3a Use single stdout and stderr for control clients. Nicholas Marriott 2013-03-11 09:46:18 +00:00
  • a6ad44f111 Fix if-shell and run-shell if there are no sessions. Batted around through several people, finished off by Chris Johnsen. Nicholas Marriott 2013-03-11 09:43:56 +00:00
  • 97620bb5be Add a home and end as modified by xterm in keypad mode, from Chris Johnsen. Nicholas Marriott 2013-03-11 09:37:52 +00:00
  • 49ed75d883 Fix a warning. Nicholas Marriott 2013-03-11 09:37:16 +00:00
  • c41d92d27a Add time and a command count to control mode guards, based on code from George Nachman. Nicholas Marriott 2013-03-11 09:35:44 +00:00
  • a060aa2bf0 Fix handling of short (< 4 character) checksums and a bug with parsing old-style custom layouts. Based on fix from Chris Johnsen. Nicholas Marriott 2013-03-10 23:41:59 +00:00
  • 2ac6501698 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-03-09 21:33:28 +00:00
  • 06ac399ce6 Zoom script is no longer needed. Nicholas Marriott 2013-03-09 21:32:47 +00:00
  • dde5d49a5e Do not redraw panes if invisible. Nicholas Marriott 2013-03-09 17:29:22 +00:00
  • 89d3f13945 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-03-07 10:09:13 +00:00
  • f47a063841 Rename session idx to session id throughout and add $ prefix to targets to use it, extended from a diff from George Nachman. Nicholas Marriott 2013-03-07 10:07:22 +00:00
  • e964ff70e6 Fix --disable-static, reported by Shea Levy. Nicholas Marriott 2013-03-06 14:58:48 +00:00
  • bc3580fa06 Add wait-for -L and -U for lock and unlock, from Thiago Padilha. Nicholas Marriott 2013-03-06 11:00:55 +00:00
  • 7fd4d49d56 Add a wait-for command which blocks a client on a named channel until it is wokrn up again (with wait-for -S). From Thiago Padilha. Nicholas Marriott 2013-03-06 09:57:26 +00:00
  • ec75f9d1a3 Allow lastgc to be NULL in grid_string_cells so find-window doesn't crash, problem reported by eugene everson. Nicholas Marriott 2013-03-06 09:56:31 +00:00
  • 6405fceee2 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-03-05 20:02:47 +00:00
  • f9e46a373f Do not leak command in formats, from Romain Francoise. Nicholas Marriott 2013-03-05 20:01:16 +00:00
  • d05debbe19 Unzoom on last-pane and fix a typo, from Romain Francoise. Nicholas Marriott 2013-03-05 18:00:14 +00:00
  • f8c86a9515 Add some additional debug logging. Nicholas Marriott 2013-03-05 17:17:59 +00:00
  • 2c9cddd876 Continue the parent cmdq after sourcing a file. Nicholas Marriott 2013-03-05 17:14:19 +00:00
  • aaeee34c32 Preserve trailing spaces with capture-pane -J, from George Nachman. Nicholas Marriott 2013-03-04 11:03:03 +00:00
  • 70397e4a95 Print %%error not %%end guard on error, from George Nachman. Nicholas Marriott 2013-03-04 09:09:07 +00:00
  • 43d904dbf3 tty.path can be NULL, don't dereference it. From George Nachman. Nicholas Marriott 2013-03-04 09:02:32 +00:00
  • 1da64bf786 Remove some unused/unnecessary control notifications, from George Nachman. Nicholas Marriott 2013-03-04 09:01:30 +00:00
  • 1cb1fb5bd4 Add -q flags to shut up errors to capture-pane and show-options, from George Nachman. Nicholas Marriott 2013-03-04 09:00:24 +00:00
  • 208881a735 Send DSC 1000p at the beginning of a -CC client's lifetime and ST and the end, from George Nachman.. Nicholas Marriott 2013-03-04 08:52:41 +00:00
  • a2f52d4224 Remove previous Thomas Adam 2013-02-25 18:25:37 +00:00
  • 2ccb67cae4 Plug small memory leak in run-shell Thomas Adam 2013-02-25 07:33:21 +00:00
  • b2a61348dd Add -a to capture-pane to capture alternate screen, from George Nachman. Nicholas Marriott 2013-02-24 07:52:03 +00:00
  • 234f6d27c1 Use \\ not \ for escaping \. Nicholas Marriott 2013-02-24 07:49:54 +00:00
  • f339cfd315 Add -A flag to new-session to make it behave like attach-session if the session exists. If -A is used, -D behaves like -d to attach-session. Nicholas Marriott 2013-02-24 00:43:28 +00:00
  • c5239c5984 Add resize-pane -Z to temporary zoom the active pane to occupy the full window or unzoom (restored to the normal layout) if it already zoomed, bound to C-b z by default. The pane is unzoomed on pretty much any excuse whatsoever. Nicholas Marriott 2013-02-24 00:25:03 +00:00
  • be13479f09 Add a -o option to set-option to prevent setting an option already set, from Thiago Padilha. Nicholas Marriott 2013-02-23 23:21:22 +00:00
  • 69a8d64716 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-02-23 22:42:49 +00:00
  • 3964309c67 Add a command queue to standardize and simplify commands that call other commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous which has been much requested. Nicholas Marriott 2013-02-23 22:25:58 +00:00
  • 243244d285 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-02-23 19:26:12 +00:00
  • 497b27dafb Expand format variables in the run-shell and if-shell shell commands, from Thiago Padilha. Nicholas Marriott 2013-02-23 19:24:42 +00:00
  • ca6d9f799e Tidy TODO and nuke stuff that is done in some form or not going to happen. Nicholas Marriott 2013-02-23 15:52:56 +00:00
  • f1aa5f6a1d Add to TODO. Nicholas Marriott 2013-02-23 15:43:13 +00:00
  • dc50de782a The visit -> Visit Nicholas Marriott 2013-02-23 15:15:20 +00:00
  • 2e85eeea37 www Project Page -> SourceForge Page Nicholas Marriott 2013-02-23 14:51:56 +00:00
  • 357da035b9 Merge send-prefix into send-keys. Nicholas Marriott 2013-02-23 14:41:07 +00:00
  • 5aa54c863d Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-02-23 14:23:59 +00:00
  • 42735d446e Merge show-buffer into save-buffer. Nicholas Marriott 2013-02-23 14:23:35 +00:00
  • 57eb334d5b Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-02-23 13:03:47 +00:00
  • 5f904aa350 Add pane_tags format to format_window_pane based on code from George Nachman. Nicholas Marriott 2013-02-23 13:02:52 +00:00
  • ee0f8adfac Handle focus events from the terminal, from Aaron Jensen. Nicholas Marriott 2013-02-23 10:01:34 +00:00
  • 1ed37385c6 Use -O2 without debugging. Nicholas Marriott 2013-02-22 23:37:55 +00:00
  • 3a2e9d805a Fix error reporting for client commands by adding a flag to cmd_find_client to tell it whether or not to show errors, sometimes it's needed and sometimes not. Nicholas Marriott 2013-02-22 23:04:53 +00:00
  • 911ef4e69a Allow display-message with no curclient. Nicholas Marriott 2013-02-22 22:57:26 +00:00
  • 1994ae4640 Missing PANE_RESIZE define. Nicholas Marriott 2013-02-22 21:47:34 +00:00
  • dbd8e47846 Do pane resize ioctls once at the end of the server loop rather than immediately. Nicholas Marriott 2013-02-22 21:35:29 +00:00
  • ce7bf1083e Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-02-22 16:25:50 +00:00
  • 1db4ec6e63 Add pane_current_command format. Nicholas Marriott 2013-02-22 16:25:21 +00:00