aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-23 17:29:51 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-23 17:29:51 +0000
commitc7394ac4e0f7e6e034fbb4b050de6f713bb9f6e0 (patch)
tree5922399cc29cc65877260b5bfc36ba0b1cfafbc4 /tmux.h
parent43cd40e87a41d9504dcac99419c96e3cdbb81029 (diff)
downloadrtmux-c7394ac4e0f7e6e034fbb4b050de6f713bb9f6e0.tar.gz
rtmux-c7394ac4e0f7e6e034fbb4b050de6f713bb9f6e0.tar.bz2
rtmux-c7394ac4e0f7e6e034fbb4b050de6f713bb9f6e0.zip
When using source-file, run the commands in the context of the source-file
command rather than with no context. This makes things like attach work from a file.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 4cc659d6..a2d01ea0 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1109,7 +1109,7 @@ void sigreset(void);
void sighandler(int);
/* cfg.c */
-int load_cfg(const char *, char **x);
+int load_cfg(const char *, struct cmd_ctx *, char **);
/* mode-key.c */
extern const struct mode_key_table mode_key_tables[];