From 5781a9e463cb69ee6a02848cccc3de57567dc46a Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 29 Mar 2011 01:27:49 -0400 Subject: Handle nil args in gui.print() and set caret after printing. --- modules/textadept/run.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/textadept/run.lua') 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. -- cgit v1.2.3