Skip to content

Commit

Permalink
Force non-output of newlines from Matlab #28
Browse files Browse the repository at this point in the history
  • Loading branch information
mducle committed Oct 2, 2024
1 parent d3106dc commit c1b4379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libpymcr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace libpymcr {
error_already_set = true;
}
if(_m_output.get()->in_avail() > 0) {
py::print(_m_output.get()->str(), py::arg("flush")=true);
py::print(_m_output.get()->str(), py::arg("flush")=true, py::arg("end")="");
_m_output.get()->str(std::basic_string<char16_t>());
}
py::gil_scoped_release gil_release;
Expand Down

0 comments on commit c1b4379

Please sign in to comment.