aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/run.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/run.lua')
-rw-r--r--modules/textadept/run.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua
index 6c9bef23..c130abc1 100644
--- a/modules/textadept/run.lua
+++ b/modules/textadept/run.lua
@@ -325,7 +325,7 @@ events.connect(events.CHAR_ADDED, function(code)
if code == string.byte('\n') and proc and proc:status() == 'running' and
buffer._type == _L['[Message Buffer]'] then
local line_num = buffer:line_from_position(buffer.current_pos) - 1
- proc:write((buffer:get_line(line_num)))
+ proc:write(buffer:get_line(line_num))
end
end)