Skip to content
Snippets Groups Projects
Unverified Commit 617ff00a authored by FineArchs's avatar FineArchs Committed by GitHub
Browse files

Fix: AiScriptの`readline`が不正な値を返すことがある問題を修正 (#12675)

* fix input bug

* Update CHANGELOG.md
parent b5c319b2
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,7 @@
- Fix: セキュリティ向上のためAiScriptの`Mk:apiExternal`を無効化
- Fix: ノート中の絵文字をタップして「リアクションする」からリアクションした際にリアクションサウンドが鳴らない不具合を修正
- Fix: ノート中のリアクションの表示を微調整 #12650
- Fix: AiScriptの`readline`が不正な値を返すことがある問題を修正
### Server
- Enhance: MFM `$[ruby ]` が他ソフトウェアと連合されるように
......
......@@ -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 ?? '');
});
});
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment