aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/run.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-03-29 01:27:49 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2011-03-29 01:27:49 -0400
commit5781a9e463cb69ee6a02848cccc3de57567dc46a (patch)
treeabde43d6c84bc6ce90a2ae4d21a25e38c2b238de /modules/textadept/run.lua
parent2567f768ea08abaf53e7e09f9103cfaa3c87d2d8 (diff)
downloadtextadept-5781a9e463cb69ee6a02848cccc3de57567dc46a.tar.gz
textadept-5781a9e463cb69ee6a02848cccc3de57567dc46a.zip
Handle nil args in gui.print() and set caret after printing.
Diffstat (limited to 'modules/textadept/run.lua')
-rw-r--r--modules/textadept/run.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua
index fd021fab..65526386 100644
--- a/modules/textadept/run.lua
+++ b/modules/textadept/run.lua
@@ -37,7 +37,6 @@ function execute(command)
p:close()
lfs.chdir(current_dir)
gui.print(('> '..command..'\n'..out):iconv('UTF-8', _CHARSET))
- buffer:goto_pos(buffer.length)
end
-- Executes a compile or run command.