aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js
index f4829344..683a2288 100644
--- a/src/library.js
+++ b/src/library.js
@@ -316,7 +316,7 @@ LibraryManager.library = {
// Command line.
result = readline();
}
- if (!result) return null;
+ if (!result) result = '';
input.cache = intArrayFromString(result + '\n', true);
}
return input.cache.shift();