diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-04-06 22:03:45 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-04-06 22:03:45 +0200 |
| commit | e0e6400c61a4d74e68a2d2ef0039d077b8955853 (patch) | |
| tree | fa180a70690cfe238a5fe236c292ef3ff309d217 /vis/visrc.lua | |
| parent | 2f76adc3cb674aeef60e2b0bc56b67b1ad9330cb (diff) | |
test: terminate tests via command line argument not lua code
Executing a vis:command("qall!") or similar from a Lua WIN_OPEN
event handler is a bad idea.
Diffstat (limited to 'vis/visrc.lua')
| -rw-r--r-- | vis/visrc.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/vis/visrc.lua b/vis/visrc.lua index ad26bc8..2cb3f8a 100644 --- a/vis/visrc.lua +++ b/vis/visrc.lua @@ -14,6 +14,5 @@ vis.events.subscribe(vis.events.WIN_OPEN, function(win) file:close() vis:feedkeys(keys..'<Escape>') vis:command(string.format("w! '%s.out'", name)) - vis:command('qall!') end end) |
