mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 17:46:28 +08:00
core: add limit to problem.getPrefixList
This commit is contained in:
1 parent
ca670a2f12
commit
10dd5d28d5
5 files changed
+14
-10
No files matched your search
@@ -33,7 +33,7 @@ async function executeCommand(input: string) {
|
||||
}
|
||||
|
||||
process.stdin.setEncoding('utf-8');
|
||||
if (process.stdin.setRawMode) process.stdin.setRawMode(false);
|
||||
process.stdin.setRawMode?.(false);
|
||||
process.stdin.on('data', (buf) => {
|
||||
const input = buf.toString();
|
||||
executeCommand(input);
|
||||
|
||||
Reference in new issue
Block a user