diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/textadept/command_entry.lua | 2 | ||||
-rw-r--r-- | modules/textadept/run.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/textadept/command_entry.lua b/modules/textadept/command_entry.lua index 540c2510..7929a6b8 100644 --- a/modules/textadept/command_entry.lua +++ b/modules/textadept/command_entry.lua @@ -207,7 +207,7 @@ function M.run(f, keys, lexer, height) local mode_history = history[history.mode] mode_history[#mode_history + 1] = M:get_text() mode_history.pos = #mode_history + 1 - f((M:get_text())) + f(M:get_text()) end end if not getmetatable(keys) then setmetatable(keys, M.editing_keys) end 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) |