print_to_output = function(...) local line = table.concat(map({...}, tostring), ' ') table.insert(Current_pane.output_editor_state.lines, {data=line}) Text.redraw_all(Current_pane.output_editor_state) end