Commit Graph

  • 26945d7956 Use system wcwidth() instead of carrying around UTF-8 width tables. nicm 2016-03-01 12:02:08 +00:00
  • c7851e0ee7 Fix break-pane synopsis and some other tmux.1 bits. nicm 2016-03-01 11:58:45 +00:00
  • a011b67f56 Remove unused variables. Nicholas Marriott 2016-02-19 16:45:35 +00:00
  • c3f93e7178 Add to TODO. Nicholas Marriott 2016-02-19 16:45:15 +00:00
  • 931b1c6d59 Merge branch 'master' into next Nicholas Marriott 2016-02-19 13:37:18 +00:00
  • e9d369a09e Fixed fgetln(3) implementation (from Joerg Jung) which does not depend on *BSD fgets(3) semantics. Nicholas Marriott 2016-02-19 13:35:46 +00:00
  • 6adf561507 Redraw status on mode entry and exit. Nicholas Marriott 2016-02-19 13:29:59 +00:00
  • 95adc0e6ba When a mouse drag is finished, fire a MouseUp key press, instead of doing the drag end in code. From Stephen Coakley. Nicholas Marriott 2016-02-19 13:28:03 +00:00
  • 02753ba9ea Remove unused variables, from Michal Mazurek. Nicholas Marriott 2016-02-19 13:15:22 +00:00
  • acc1090e77 Use system wcwidth() instead of carrying around UTF-8 width tables. Nicholas Marriott 2016-02-19 13:14:17 +00:00
  • fc864529f5 Remove malloc_options debug bit (already gone from OpenBSD). Nicholas Marriott 2016-02-19 13:11:10 +00:00
  • 782dd941da Fire SIGCHLD after utempter_add_record since it probably eats it. Nicholas Marriott 2016-02-17 23:21:58 +00:00
  • ba8290aeae Merge branch 'obsd-master' Thomas Adam 2016-02-12 14:01:14 +00:00
  • 4f6bc0a0a9 Expand client formats in run-shell. nicm 2016-02-12 12:24:52 +00:00
  • f7c8f1ae29 xmalloc: define __bounded__ where necessary Thomas Adam 2016-02-07 00:04:46 +00:00
  • ba97ae1737 EXTRA_DIST: add example_tmux.conf / xmalloc.h Thomas Adam 2016-02-06 19:04:21 +00:00
  • 7669cfb330 Merge branch 'obsd-master' Thomas Adam 2016-02-05 12:01:10 +00:00
  • bc0c9c7920 Do not wrap cursor at start or end of history, from Michal Mazurek. nicm 2016-02-05 10:20:06 +00:00
  • 07c23ccc05 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2016-02-05 10:08:55 +00:00
  • 2130a07b70 Add to TODO. Nicholas Marriott 2016-02-05 10:08:39 +00:00
  • 26f899be10 Merge branch 'obsd-master' Thomas Adam 2016-02-04 16:01:13 +00:00
  • bdb8bb790e Set up -t flag properly when passing new-session -A off to attach-session, GitHub issue 295. nicm 2016-02-04 14:11:20 +00:00
  • 8760f877e1 Merge branch 'obsd-master' Thomas Adam 2016-01-31 16:01:09 +00:00
  • 97882f9ce2 Clear RGB flags during selection. nicm 2016-01-31 14:11:49 +00:00
  • 5fce21728e Merge branch 'obsd-master' Thomas Adam 2016-01-31 12:01:09 +00:00
  • fa64b89ad7 Whoops, need this for the previous reverse trim commit too. nicm 2016-01-31 09:57:41 +00:00
  • 49e9f93738 Add RGB escape sequences for capture-pane -e. nicm 2016-01-31 09:57:09 +00:00
  • 8028560f82 Support negative trim values (#{=-10:pane_title}) to trim from the end, suggested by Kevin Brubeck Unhammer. nicm 2016-01-31 09:54:46 +00:00
  • 225a384dbb Fix new-session with -t after command flags changes, reported by Michael Graczyk. nicm 2016-01-31 09:52:01 +00:00
  • 404379049a examples/ has gone, so delete some text about it. Nicholas Marriott 2016-01-29 15:45:32 +00:00
  • 2a1bb91bf7 Remove old examples in favour of one example configuration file. Nicholas Marriott 2016-01-29 14:53:28 +00:00
  • a33bb3e876 Link to the bash(1) completion file from README rather than including it in examples. Nicholas Marriott 2016-01-29 14:40:30 +00:00
  • 8cf1504ba6 Merge branch 'obsd-master' Thomas Adam 2016-01-29 12:01:16 +00:00
  • 427b820426 Support for RGB colour, using the extended cell mechanism to avoid wasting unnecessary space. The 'Tc' flag must be set in the external TERM entry (using terminal-overrides or a custom terminfo entry), if not tmux will map to the closest of the 256 or 16 colour palettes. nicm 2016-01-29 11:13:56 +00:00
  • 1d6bd50343 libevent.org URL. Nicholas Marriott 2016-01-29 10:58:08 +00:00
  • ca29dc9abc Update my email address. Nicholas Marriott 2016-01-19 18:07:25 +00:00
  • dc42c35f1f Merge branch 'obsd-master' Thomas Adam 2016-01-19 18:01:15 +00:00
  • b5b5221c13 Split out getting the current state from the target search so it can be replaced if we already know the current. nicm 2016-01-19 16:01:30 +00:00
  • 995af0e2b7 I no longer use my SourceForge address so replace it. nicm 2016-01-19 15:59:12 +00:00
  • 5d21faa99c Merge branch 'obsd-master' Thomas Adam 2016-01-16 02:01:10 +00:00
  • c9815307eb Add hooks for alerts (bell, silence, activity), from Thomas Adam. nicm 2016-01-16 00:36:53 +00:00
  • 506adf3764 Merge branch 'obsd-master' Thomas Adam 2016-01-15 12:01:11 +00:00
  • d551ab8e5c Clear the environment properly by looping until it is empty rather than looping over it (which may skip entries), from Brad King. nicm 2016-01-15 11:33:41 +00:00
  • 68d797587e A couple of missing printflike attributes, from Andrey Starodubtsev. nicm 2016-01-15 11:31:47 +00:00
  • ea9873e60e Merge branch 'obsd-master' Thomas Adam 2016-01-02 18:01:12 +00:00
  • cfb78654c2 clock-mode needs CMD_PANE. nicm 2016-01-02 17:16:25 +00:00
  • 051cf5437a Merge branch 'obsd-master' Thomas Adam 2016-01-01 10:01:11 +00:00
  • 311be04d61 Don't rely on a calculation wrapping when applying message-limit, and break out of the loop early. From Nicolas Viennot. nicm 2016-01-01 08:04:20 +00:00
  • 5e59c301b7 Merge branch 'obsd-master' Thomas Adam 2015-12-31 20:01:09 +00:00
  • 7e67db79dc Remove an extra unzoom call which was probably a merge error. nicm 2015-12-31 18:34:47 +00:00
  • f84d32ca5e Use saved pipe buffer offset when writing to pipe, from Nicolas Viennot. nicm 2015-12-31 18:14:13 +00:00
  • 5dd0e82809 Merge branch 'obsd-master' Thomas Adam 2015-12-28 16:01:09 +00:00
  • 2a1f27eb1a Couple of trivial style nits. nicm 2015-12-28 14:02:52 +00:00
  • e15a8a7c46 Keith Smiley is going to maintain the vim syntax file. Nicholas Marriott 2015-12-24 16:59:12 +00:00
  • ed65535c41 Merge branch 'obsd-master' Thomas Adam 2015-12-23 02:01:14 +00:00
  • 60cbdf9ccd Repair switch-client -l and switch-client with a window target. nicm 2015-12-23 00:12:57 +00:00
  • 5083e93957 Merge branch 'obsd-master' Thomas Adam 2015-12-21 10:01:08 +00:00
  • f2ec911b8a Detach the right session with -d. nicm 2015-12-21 09:20:13 +00:00
  • c83d6ee0b1 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2015-12-20 11:26:12 +00:00
  • 83c96d2685 No need to set cwd on Cygwin now, from Yuya Adachi. Nicholas Marriott 2015-12-20 11:25:13 +00:00
  • 58b3d66229 Merge branch 'obsd-master' Thomas Adam 2015-12-19 10:01:08 +00:00
  • bdbec099cc Make input off flag (selectp -d) apply to synchronize-panes too. nicm 2015-12-19 08:43:04 +00:00
  • 2ad9caad3f Merge branch 'obsd-master' Thomas Adam 2015-12-18 00:01:08 +00:00
  • a337403868 As well as setting up the state, actually use it in cmd_find_target. nicm 2015-12-17 23:08:22 +00:00
  • e0cae08c04 Merge branch 'obsd-master' Thomas Adam 2015-12-17 00:01:08 +00:00
  • 99e9a4c786 send-keys -R should reset the input parser to ground state (so it can be used to escape from, for example, printf '\033]2;'). nicm 2015-12-16 22:05:35 +00:00
  • 7c94dae702 Merge branch 'obsd-master' Thomas Adam 2015-12-16 22:01:08 +00:00
  • 021c64310d Add infrastructure to work out the best target given a pane or window alone and use it to add pane_died and pane_exited hooks. nicm 2015-12-16 21:50:37 +00:00
  • 8eb1a7d5dc showenv and setenv need to be CANFAIL. nicm 2015-12-16 21:47:00 +00:00
  • f7a6482e6b Merge branch 'obsd-master' Thomas Adam 2015-12-15 16:01:12 +00:00
  • 909b737289 Copy state directly rather than dereferencing wl (which could be NULL). nicm 2015-12-15 14:32:55 +00:00
  • e5caf64815 Merge branch 'obsd-master' Thomas Adam 2015-12-15 14:01:12 +00:00
  • ac9778395f Some hooks API changes to fire a hook while waiting another cmdq and infrastructure that will be needed soon. nicm 2015-12-15 13:43:07 +00:00
  • 1a33ea9671 Merge branch 'obsd-master' Thomas Adam 2015-12-15 02:01:14 +00:00
  • 9d88d82d5e Allow list-keys and list-commands to be run without a running server. nicm 2015-12-15 00:52:17 +00:00
  • 6f417ec943 We changed somewhat recently to us the pty when tmux was run inside itself to work out the current pane. This is confusing in many cases (particularly notable is that "tmux neww\; splitw" would not split the new window), and the few advantages do not make up for the confusion. nicm 2015-12-15 00:45:02 +00:00
  • 56d097cfe0 Don't copy marked pane when can just point to it. nicm 2015-12-15 00:11:24 +00:00
  • 6ab17e3e15 Merge branch 'obsd-master' Thomas Adam 2015-12-15 00:01:08 +00:00
  • 12da13c9d1 Make the marked pane a cmd_find_state. nicm 2015-12-15 00:00:01 +00:00
  • d5999f8b5c Use cmd_find_clear_state instead of an extra function doing the same. nicm 2015-12-14 23:30:58 +00:00
  • bc6137f9e4 Merge branch 'obsd-master' Thomas Adam 2015-12-14 01:30:15 +00:00
  • a585a1b81a Remove some stray debug code. nicm 2015-12-14 00:32:19 +00:00
  • a3129fd4e8 Instead of combined flags for -c, -s, -t, split into different sets using an enum and simplify the parsing code. nicm 2015-12-14 00:31:54 +00:00
  • 5caec3020d Merge branch 'obsd-master' Thomas Adam 2015-12-13 23:46:58 +00:00
  • f4adcfa0e2 Merge branch 'obsd-master' Thomas Adam 2015-12-13 22:01:08 +00:00
  • ecfeee2e82 Use member names in cmd_entry definitions so I stop getting confused about the order. nicm 2015-12-13 21:53:57 +00:00
  • 899bee0056 Actually I thought cmd_get_state_client was unnecessary but it will be needed. nicm 2015-12-13 21:17:37 +00:00
  • 00da99f2c4 Merge branch 'obsd-master' Thomas Adam 2015-12-13 20:01:09 +00:00
  • 72948d9f1d -c needs to be able for fail for display-message. nicm 2015-12-13 18:31:47 +00:00
  • 66d1193a00 Remove an unnecessary function. nicm 2015-12-13 18:27:47 +00:00
  • fd47084224 show-options and environment need CANFAIL flag. nicm 2015-12-13 18:15:13 +00:00
  • d37a580085 Merge branch 'obsd-master' Thomas Adam 2015-12-13 18:01:11 +00:00
  • 50f8ead4e6 Don't log an error when doing the first check for move-window. nicm 2015-12-13 17:58:26 +00:00
  • 9f5aca62a9 Use struct cmd_find_state directly and remove cmd_state_flag, also change so that winlink is set even if an index is too. nicm 2015-12-13 17:55:14 +00:00
  • 9b7697db62 Change cmd_find_target to use a state struct from the caller. nicm 2015-12-13 16:44:35 +00:00
  • 208e2dad1e If command returns error, report it. nicm 2015-12-13 16:11:42 +00:00
  • ae5ddfdc1a Merge branch 'obsd-master' Thomas Adam 2015-12-13 16:01:13 +00:00
  • ff599f4004 Remove the cmd_find_{session,window,pane,index} functions (which are just wrappers around cmd_find_target) and just use cmd_find_target directly. nicm 2015-12-13 15:32:12 +00:00
  • 9d191a6093 Move logging into cmd_find_target rather than each function. nicm 2015-12-13 15:00:37 +00:00
  • 4a4daf1303 Instead of every command resolving the target (-t or -s) itself, prepare the state (client, session, winlink, pane) for it it before entering the command. Each command provides some flags that tell the prepare step what it is expecting. nicm 2015-12-13 14:32:38 +00:00