aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-04-18 16:31:26 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-04-18 16:31:26 +0200
commit61a0008ad75189f542df3818d3d0c43830b94990 (patch)
tree2c97860a71c358b98f79287300343ce3147c0382 /vis-core.h
parentef5c9d41e86a2c8af909308355518635a6007d56 (diff)
downloadvis-61a0008ad75189f542df3818d3d0c43830b94990.tar.gz
vis-61a0008ad75189f542df3818d3d0c43830b94990.tar.xz
vis: use internal file to show lua errors
This means no event handlers are run for it, hence there is no chance for recursive errors.
Diffstat (limited to 'vis-core.h')
-rw-r--r--vis-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vis-core.h b/vis-core.h
index 4a5d3fc..5480589 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -139,6 +139,7 @@ struct Vis {
File *files; /* all files currently managed by this editor instance */
File *command_file; /* special internal file used to store :-command prompt */
File *search_file; /* special internal file used to store /,? search prompt */
+ File *error_file; /* special internal file used to store lua error messages */
Win *windows; /* all windows currently managed by this editor instance */
Win *win; /* currently active/focused window */
Win *message_window; /* special window to display multi line messages */