Fix: AiScriptのreadline
が不正な値を返すことがある問題を修正 (#12675)
* fix input bug * Update CHANGELOG.md
This commit is contained in:
@@ -165,12 +165,8 @@ async function run() {
|
||||
return new Promise(ok => {
|
||||
os.inputText({
|
||||
title: q,
|
||||
}).then(({ canceled, result: a }) => {
|
||||
if (canceled) {
|
||||
ok('');
|
||||
} else {
|
||||
ok(a);
|
||||
}
|
||||
}).then(({ result: a }) => {
|
||||
ok(a ?? '');
|
||||
});
|
||||
});
|
||||
},
|
||||
|
Reference in New Issue
Block a user