Commit Graph

  • e2b26d910c Unbreak line wrapping. Nicholas Marriott 2013-02-18 23:31:23 +00:00
  • 293e331d69 Add functions to allocate and free command contexts rather than doing it all on the stack. Nicholas Marriott 2013-02-18 23:20:21 +00:00
  • 2a91025581 Use tty_raw on stop, not tty_puts. Nicholas Marriott 2013-02-18 17:35:53 +00:00
  • 37d34b6b83 Don't hang when clearing line in choose mode now that the cursor stays at the end with wrap. Nicholas Marriott 2013-02-18 17:23:08 +00:00
  • 44452823b7 Fix double space in sessions template. Nicholas Marriott 2013-02-18 17:12:58 +00:00
  • e4bb87032e Add resize-pane -x and -y for absolute pane size. Nicholas Marriott 2013-02-18 17:00:35 +00:00
  • a6c4c2cca0 Implement DECAWM (SM/RM 7) using existing MODE_WRAP flag. Nicholas Marriott 2013-02-18 15:57:46 +00:00
  • ba3b8ccc1d Correctly turn handle UTF8 mouse option being toggled, from Egmont Koblinger. Nicholas Marriott 2013-02-18 15:03:50 +00:00
  • e5eee7de0c 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-02-18 14:52:27 +00:00
  • d8261019f1 Add client_session and client_last_session formats. Nicholas Marriott 2013-02-18 14:23:40 +00:00
  • 9d165df18a No more lint means no more ARGSUSED. Nicholas Marriott 2013-02-17 23:15:38 +00:00
  • 7d1a8f7e9e Remove stray test code which would convert abc to x. Nicholas Marriott 2013-02-17 23:05:57 +00:00
  • 8df3ec612a 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-02-17 22:56:12 +00:00
  • 4c91c153cb I strongly suspect it is possible for tmux to block on detach in tty_raw, so make the fd blocking again much later and have tty_raw just retry the write a few times. Nicholas Marriott 2013-02-17 22:28:11 +00:00
  • cf2c0237f4 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-02-17 10:43:35 +00:00
  • 3d9fd1c7f2 Add various checks to turn off bits that can't work in control mode (such as lock). Nicholas Marriott 2013-02-17 10:12:55 +00:00
  • d1e8fb33da Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-02-17 10:04:59 +00:00
  • 1e3a4f2331 Do not include status line in size calculations in control mode. Nicholas Marriott 2013-02-17 10:04:26 +00:00
  • 2ac1d46f46 Don't set key KEYC_NONE on xterm_keys_find match() Thomas Adam 2013-02-16 21:04:48 +00:00
  • 77a2174685 Fix a couple of memory leaks, from Romain Francoise. Nicholas Marriott 2013-02-16 19:35:49 +00:00
  • 3e270af17a Don't omit half the default table (!= not ==). Nicholas Marriott 2013-02-16 13:29:40 +00:00
  • 10db7ec51b Include the \033 in the key tree and adjust key matching for this change. Nicholas Marriott 2013-02-16 13:21:14 +00:00
  • 4f01bfc4bc Make choose-tree actually work again. Nicholas Marriott 2013-02-15 12:57:13 +00:00
  • 1d591ada76 Support capture-pane -p to send to stdout. Nicholas Marriott 2013-02-15 09:31:45 +00:00
  • 2bdc59fac8 Fix a comment for new key table names. Nicholas Marriott 2013-02-15 02:38:15 +00:00
  • 784a74df0b Fix function parameter to tty_keys_free. Nicholas Marriott 2013-02-15 02:18:38 +00:00
  • 82355d2f2d Tidy by splitting default key tables into two. Nicholas Marriott 2013-02-15 02:16:41 +00:00
  • 97a99d8718 Add -c to refresh-client to set client size in control mode, based on code from George Nachman. Nicholas Marriott 2013-02-15 01:54:48 +00:00
  • 755d4863c8 Spaces -> tabs. Nicholas Marriott 2013-02-14 12:22:14 +00:00
  • 28544391f5 Do not leak formats in status_replace. Nicholas Marriott 2013-02-14 12:20:17 +00:00
  • 931b0103cd Clarify choose-tree entry in man page. Nicholas Marriott 2013-02-13 11:07:21 +00:00
  • 6e03b50771 Run session command before window in choose-tree. Nicholas Marriott 2013-02-13 11:05:10 +00:00
  • 362c460767 Do not crash when calling choose-tree with a command that changes the mode. Nicholas Marriott 2013-02-13 11:01:26 +00:00
  • f4c815a1d9 Fix constness again, sigh. Nicholas Marriott 2013-02-13 10:41:12 +00:00
  • fc6f08d5b7 No more need for freefn. Nicholas Marriott 2013-02-13 10:27:49 +00:00
  • 68e370574a Fix constness of window_choose_add_item and _window. Nicholas Marriott 2013-02-13 10:25:37 +00:00
  • 544c80d715 Fix constness of cmd_template_replace. Nicholas Marriott 2013-02-13 10:19:43 +00:00
  • 36fe146a74 Fix choose-tree usage. Nicholas Marriott 2013-02-13 09:55:37 +00:00
  • caa29af2a9 Add user options, prefixed with @. May be set to any arbitrary string. Nicholas Marriott 2013-02-13 09:54:24 +00:00
  • 0f31d231db Return error for --foo when using compat/getopt.c. Nicholas Marriott 2013-02-12 20:36:22 +00:00
  • 102cb77435 Add -v to set and setw to show only option value. Nicholas Marriott 2013-02-12 20:12:10 +00:00
  • 7360ff4496 Use proc_pidinfo on Darwin for process name too, from OZAKI Kiichi. Nicholas Marriott 2013-02-12 09:40:22 +00:00
  • a6fd92bd8d Remove stray change accidentally committed. Nicholas Marriott 2013-02-10 19:15:49 +00:00
  • 06ac4b628d 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-02-10 18:58:05 +00:00
  • 6c53a1ed68 Allow formats in status options. Nicholas Marriott 2013-02-10 18:53:25 +00:00
  • 6ad2c5c40f Show alias in lscm output. Nicholas Marriott 2013-02-10 18:26:22 +00:00
  • 99cc0015f8 Rework reflow code so it does not do so much allocation which should be faster with large histories. Nicholas Marriott 2013-02-10 18:15:30 +00:00
  • f1ce95915c Allow choose commands to be used outside tmux, so long as at least one client is attached. Nicholas Marriott 2013-02-10 17:52:51 +00:00
  • aadc87f5a7 Remove free callback for window_choose_data objects. Nicholas Marriott 2013-02-10 17:36:58 +00:00
  • 4d382ae8e6 Miscellaneous tidying of choose API, including: Nicholas Marriott 2013-02-10 17:32:58 +00:00
  • 418ba99078 Add to TODO. Nicholas Marriott 2013-02-09 16:21:20 +00:00
  • 648ce2f56a Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-02-09 14:53:51 +00:00
  • 0648c58716 Add to TODO list. Nicholas Marriott 2013-02-09 14:52:11 +00:00
  • 01da28efb1 Minor update to .gitignore Thomas Adam 2013-02-09 10:26:57 +00:00
  • 6d6e1581b5 Use osdep_get_cwd() for format change Thomas Adam 2013-02-07 13:05:46 +00:00
  • 64da762c15 Merge branch 'obsd-master' Thomas Adam 2013-02-07 12:08:55 +00:00
  • 8903c1f167 Automatically reflow wrapped lines when a pane is resized, requested by many over the years and finally implemented by Richard Woodbury. Nicholas Marriott 2013-02-05 11:08:59 +00:00
  • a5521597b0 Don't set some string formats if the string is NULL. Nicholas Marriott 2013-02-05 11:01:45 +00:00
  • fe00607816 Only set AUTO{MAKE,CONF}_VERSION on OpenBSD Thomas Adam 2013-01-31 00:14:59 +00:00
  • 6e6d756109 Corrections to SYNCING Thomas Adam 2013-01-30 23:28:38 +00:00
  • 85531fd404 Unused variable/type nit from Thomas Adam. Nicholas Marriott 2013-01-30 17:00:17 +00:00
  • c4c98df4f2 Add -Wdeclaration-after-statement. Nicholas Marriott 2013-01-30 16:35:00 +00:00
  • a3f4eb7b24 Merge branch 'obsd-master' Thomas Adam 2013-01-30 15:27:19 +00:00
  • fdbfc7e349 Rather than having two grids for each pane, one for ASCII and one for UTF-8, collapse the two together. Simplifies the code at the expense of more memory (which can probably be reduced again later). Nicholas Marriott 2013-01-18 02:16:21 +00:00
  • c2e2107063 Style nits - return (x) not return x. Nicholas Marriott 2013-01-18 02:10:29 +00:00
  • 2ca8b7f359 Merge branch 'obsd-master' Thomas Adam 2013-01-17 22:14:18 +00:00
  • 3a09e01a8e Do not allow cursor colours to be set beginning with ? as that will report the colour, from Hayaki Saito. Nicholas Marriott 2013-01-17 20:30:43 +00:00
  • d31315884c Fix some blank line nits. Nicholas Marriott 2013-01-17 03:51:21 +00:00
  • 57ca428975 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2013-01-17 02:09:18 +00:00
  • b0e2ef1a7d Update www for new SF URLs. Nicholas Marriott 2013-01-17 02:08:58 +00:00
  • b237d9dd95 Updated SYNCING Thomas Adam 2013-01-17 02:02:04 +00:00
  • de194016ec Merge branch 'obsd-master' Thomas Adam 2013-01-17 01:38:21 +00:00
  • e33ba57c13 Remove the layout undo/redo code which never really worked. Nicholas Marriott 2013-01-17 00:11:22 +00:00
  • 44f8e1caff Implement ECH (erase character, CSI X). Reported by Christian Neukirchen. Nicholas Marriott 2013-01-15 23:18:55 +00:00
  • bc2e4a36df If timing between keys is less than (by default) 1 millisecond, assume the text is being pasted. assume-paste-time option changes the value (0 disables). Based on a diff from Marcin Kulik. Nicholas Marriott 2013-01-15 22:55:29 +00:00
  • 675c6b3773 Merge branch 'obsd-master' Thomas Adam 2012-12-31 18:50:37 +00:00
  • f4472c16b2 Fix keyword matching. Tiago Cunha 2012-12-24 17:18:35 +00:00
  • 854e8ae04d Add ^ and $ special command targets to select lowest and highest numbered windows, from Raghavendra D Prabhu. Nicholas Marriott 2012-12-24 12:38:57 +00:00
  • 3e6d45acf6 Add -T option to select-window to toggle to last window if already current, from Raghavendra D Prabhu. Nicholas Marriott 2012-12-24 12:34:32 +00:00
  • a2c8af97e9 Add missing function prototype. Nicholas Marriott 2012-12-24 12:33:05 +00:00
  • b18ff67646 Add a -u flag to choose-tree to start uncollapsed, from Raghavendra D Prabhu. Nicholas Marriott 2012-12-24 12:25:52 +00:00
  • 6a5adfc0ba We no longer use struct eproc for kinfo_proc in sysctl.h so there is no direct need for sys/proc.h or sys/resource.h. Some consumers of kinfo_proc need these for the proc flags and rlimit defines like RLIM_INF so add the appropriate includes to them. OK deraadt@ sthen@ millert 2012-12-18 21:28:45 +00:00
  • 9714880283 Change load_cfg to fix a crash reported by jasper. Nicholas Marriott 2012-12-13 15:36:16 +00:00
  • 3a0016a78a Use the CMD_*_USAGE defines consistently, from Thomas Adam. Nicholas Marriott 2012-12-09 23:17:35 +00:00
  • fb83914bd7 Merge branch 'obsd-master' Thomas Adam 2012-12-08 20:29:37 +00:00
  • d5de489dc4 .+ Thomas Adam 2012-12-08 19:16:45 +00:00
  • 3fa4f691e3 Handle resetting 256-colours properly when parsing #[default], #[fg=default] and #[bg=default] styles. Nicholas Marriott 2012-12-08 17:05:57 +00:00
  • 8600fe054b Use strlcat not strncat in load_cfg and some other trivial tidying from Tiago Cunha. Nicholas Marriott 2012-12-06 13:06:05 +00:00
  • 8378be03d1 Fix argument order in a log statement. Nicholas Marriott 2012-12-06 12:49:13 +00:00
  • 51a1dbfe09 Simplify command string parsing with a helper function from Tiago Cunha. Nicholas Marriott 2012-12-06 12:47:48 +00:00
  • 8264e92b37 Fix return value of load_cfg, from Thomas Adam. Nicholas Marriott 2012-11-27 22:59:34 +00:00
  • 739a76634c Merge branch 'obsd-master' Thomas Adam 2012-11-27 22:24:00 +00:00
  • 47c097cb51 Support middle-click paste, based on a diff from Ailin Nemui. Nicholas Marriott 2012-11-27 20:22:12 +00:00
  • 24d7d073ff Support the 47 and 1047 SM and RM sequences (alternate screen without cursor), requested by I forget who ages ago. Nicholas Marriott 2012-11-27 20:08:42 +00:00
  • 39631edb98 Merge branch 'obsd-master' Thomas Adam 2012-11-27 18:12:04 +00:00
  • 9b8998aeec Correctly aggregate together errors from nested config files (with source-file). Fix by Thomas Adam, reported by Sam Livingstone-Gray Nicholas Marriott 2012-11-27 16:12:29 +00:00
  • 4aa4e9fb26 Allow cmd-run-shell to accept -t to specify the pane to display the output, requested by Alexander Tsepkov. Nicholas Marriott 2012-11-27 15:09:35 +00:00
  • 1fcc7f50ac When scrolling in copy mode with the mouse, scroll screen rather than moving cursor. This change from Ailin Nemui, alternative to a change from Stephen Hicks. Nicholas Marriott 2012-11-27 14:42:56 +00:00
  • 6ef4f8e16c Revert last, after discussion it isn't necessary. Nicholas Marriott 2012-11-27 14:26:48 +00:00
  • 93224260ae Add window-status-last-* options, from Boris Faure. Nicholas Marriott 2012-11-27 13:52:23 +00:00