This commit is contained in:
Xaver K 2020-04-03 14:07:04 +02:00
parent 3429b362ba
commit ecbea115c7
2 changed files with 0 additions and 2 deletions

View File

@ -74,7 +74,6 @@ class RealTimeSubprocess(subprocess.Popen):
readLine = self._read_from_stdin()
# need to add newline since it is not captured by frontend
readLine += "\n"
os.write(1, readLine.encode());
self.stdin.write(readLine.encode())
else:
self._write_to_stdout(contents)

View File

@ -24,7 +24,6 @@ int scanf_wrap(const char *format, ...) {
/* unget chars in buffer */
int doRequest = 1;
long index = strlen(inputBuff) - 1;
// printf("Start index: %ld\n", index);
for(; index >= 0; --index) {
ungetc(inputBuff[index], stdin);
/* if there already is a newline in buffer