Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-05 | Change deref to the more sensible unref, and add a couple I missed before. | nicm | |
2015-05-07 | Style spacing nits. | nicm | |
2015-04-27 | Reset cfg_ncauses to 0 as well or we could allocate the wrong size if | nicm | |
called again. | |||
2015-04-25 | Fix some char* -> char *. | nicm | |
2015-04-25 | Use a char **,u_int pair for cfg_causes. | nicm | |
2015-04-19 | Rewrite of tmux mouse support which was a mess. Instead of having | nicm | |
options for "mouse-this" and "mouse-that", mouse events may be bound as keys and there is one option "mouse" that turns on mouse support entirely (set -g mouse on). See the new MOUSE SUPPORT section of the man page for description of the key names and new flags (-t= to specify the pane or window under mouse as a target, and send-keys -M to pass through a mouse event). The default builtin bindings for the mouse are: bind -n MouseDown1Pane select-pane -t=; send-keys -M bind -n MouseDown1Status select-window -t= bind -n MouseDrag1Pane copy-mode -M bind -n MouseDrag1Border resize-pane -M To get the effect of turning mode-mouse off, do: unbind -n MouseDrag1Pane unbind -temacs-copy MouseDrag1Pane The old mouse options are now gone, set-option -q may be used to suppress warnings if mixing configuration files. | |||
2014-10-27 | Move cfg_causes local into cfg.c and remove struct causelist. | nicm | |
2014-06-25 | Handle escaped back slashes and missing new lines at end of line by using | tobias | |
fparseln instead of reimplementing it on our own. with input by and ok nicm@ | |||
2014-04-17 | Remove some unnecessary includes and fix a typo. | nicm | |
2013-10-20 | Do not run any command line command from the client which starts the | nicm | |
server until after the configuration file completes. This prevents it racing against run-shell or if-shell in .tmux.conf that run in the background. | |||
2013-03-25 | Add some additional debug logging. | Nicholas Marriott | |
2013-03-24 | Add a command queue to standardize and simplify commands that call other | Nicholas Marriott | |
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. Each client has a default command queue and commands are consumed one at a time from it. A command may suspend execution from the queue by returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example run-shell does this from the callback that is fired after the job is freed. When the command queue becomes empty, command clients are automatically exited (unless attaching). A callback is also fired - this is used for nested commands in, for example, if-shell which can block execution of the client's cmdq until a new cmdq becomes empty. Also merge all the old error/info/print functions together and lose the old curclient/cmdclient distinction - a cmdq is bound to one client (or none if in the configuration file), this is a command client if c->session is NULL otherwise an attached client. | |||
2013-03-22 | Need to set clients in context before changing their reference count. | Nicholas Marriott | |
2013-03-22 | load_cfg can actually use the same context now they are reference counted. | Nicholas Marriott | |
2013-03-22 | Don't try to print unterminated strings when loading configuration file. | Nicholas Marriott | |
2013-03-22 | No more lint means no more ARGSUSED. | Nicholas Marriott | |
2013-03-21 | Fix a couple of memory leaks, from Romain Francoise. | Nicholas Marriott | |
2012-12-13 | Change load_cfg to fix a crash reported by jasper. | Nicholas Marriott | |
2012-12-06 | Use strlcat not strncat in load_cfg and some other trivial tidying from | Nicholas Marriott | |
Tiago Cunha. | |||
2012-11-27 | Fix return value of load_cfg, from Thomas Adam. | Nicholas Marriott | |
2012-11-27 | Correctly aggregate together errors from nested config files (with | Nicholas Marriott | |
source-file). Fix by Thomas Adam, reported by Sam Livingstone-Gray | |||
2012-11-19 | Use a utility function for common code to show errors in config file, | Nicholas Marriott | |
from Thomas Adam. | |||
2012-07-11 | Make command exec functions return an enum rather than -1/0/1 values and | Nicholas Marriott | |
add a new value to mean "leave client running but don't attach" to fix problems with using some commands in a command sequence. Most of the work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531. | |||
2012-07-10 | xfree is not particularly helpful, remove it. From Thomas Adam. | Nicholas Marriott | |
2012-05-17 | Ignore line continuation when escaped as \\, from Simon Nicolussi. | Nicholas Marriott | |
2011-08-24 | Support \ for line continuation in the configuration file, from Julius | Nicholas Marriott | |
Plenz. | |||
2010-12-29 | Allow the config file parser and source-file to return "don't exit" to | Nicholas Marriott | |
the client to let attach work from configuration files. | |||
2010-05-25 | Fix an out-of-date comment. | Nicholas Marriott | |
2010-02-06 | Use the array.h code for the causes list. | Nicholas Marriott | |
2010-02-06 | Instead of bailing out on the first configuration file error, carry on, | Nicholas Marriott | |
collecting all the errors, then start with the active window in more mode displaying them. | |||
2009-11-26 | Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to | Nicholas Marriott | |
the rest to reduce lint output. | |||
2009-10-26 | tabs are better; ok nicm | Theo Deraadt | |
2009-08-23 | When using source-file, run the commands in the context of the source-file | Nicholas Marriott | |
command rather than with no context. This makes things like attach work from a file. | |||
2009-08-23 | The cursession member in struct cmd_ctx is always either curclient->session or | Nicholas Marriott | |
NULL when curclient is also NULL, so just eliminate it. | |||
2009-08-09 | Don't leak in the (rare) case of an invalid command at the end of a file not | Nicholas Marriott | |
terminated by a \n. | |||
2009-07-30 | Don't babysit people and let them try to load /dev/zero or (more useful) | Nicholas Marriott | |
/dev/null if they want. | |||
2009-06-25 | Unused prototypes. Found by lint, no binary change. | Nicholas Marriott | |
2009-06-01 | Import tmux, a terminal multiplexor allowing (among other things) a single | Nicholas Marriott | |
terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti |