merge bugfix
This commit is contained in:
parent
24060d6ae7
commit
a18955cfce
|
@ -18,7 +18,7 @@ function live.send_to_app(msg)
|
|||
if f == nil then return end
|
||||
f:write(msg)
|
||||
f:close()
|
||||
print('$'..color(--[[bold]]1, --[[blue]]4))
|
||||
print('$'..color_escape(--[[bold]]1, --[[blue]]4))
|
||||
print(msg)
|
||||
print(reset_terminal())
|
||||
end
|
||||
|
@ -31,7 +31,7 @@ function live.receive_from_app()
|
|||
local result = f:read('*a')
|
||||
f:close()
|
||||
if result == '' then return nil end -- empty file == no message
|
||||
print('=>'..color(0, --[[green]]2))
|
||||
print('=>'..color_escape(0, --[[green]]2))
|
||||
print(result)
|
||||
print(reset_terminal())
|
||||
if result:match('^ERROR ') then
|
||||
|
@ -48,7 +48,7 @@ function live.receive_run_time_error_from_app()
|
|||
local result = f:read('*a')
|
||||
f:close()
|
||||
if result == '' then return nil end -- empty file == no message
|
||||
print('=>'..color(0, --[[red]]1))
|
||||
print('=>'..color_escape(0, --[[red]]1))
|
||||
print(result)
|
||||
print(reset_terminal())
|
||||
Run_time_error = result
|
||||
|
|
Loading…
Reference in New Issue