changed heredoc to exchange data via a stdin like interface with a read function fix #39
This commit is contained in:
@@ -364,6 +364,8 @@ void utils_terminateInput(shellmatta_instance_t *inst)
|
||||
inst->lastNewlineIdx = 0u;
|
||||
inst->hereLength = 0u;
|
||||
inst->cursor = 0u;
|
||||
inst->stdinIdx = 0u;
|
||||
inst->stdinLength = 0u;
|
||||
inst->write("\r\n", 2u);
|
||||
inst->write(inst->prompt, strlen(inst->prompt));
|
||||
}
|
||||
|
Reference in New Issue
Block a user