terminal: remove line break requirement from all api calls

already handled internally
This commit is contained in:
Maxim Prokhorov
2025-01-28 10:35:59 +03:00
parent 3970dfbbcc
commit c9e13d4025
5 changed files with 3 additions and 29 deletions

View File

@@ -853,10 +853,6 @@ namespace terminal {
namespace internal {
void inject(String command) {
if (!command.endsWith("\r\n") && !command.endsWith("\n")) {
command.concat('\n');
}
static EphemeralPrint output;
PrintString error(64);