mirror of
https://github.com/XaverKlemenschits/jupyter-c-kernel.git
synced 2025-04-14 10:26:09 +00:00
Cleanup.
This commit is contained in:
parent
3429b362ba
commit
ecbea115c7
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user