diff options
Diffstat (limited to 'web/dartboat_wasm.c')
-rw-r--r-- | web/dartboat_wasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/dartboat_wasm.c b/web/dartboat_wasm.c index bc384dc..4c9973b 100644 --- a/web/dartboat_wasm.c +++ b/web/dartboat_wasm.c @@ -550,7 +550,7 @@ void prompt_handle_clear() if (pm == PM_NONE) return; - EM_ASM(promptClear()); + EM_ASM({setPromptInput($0)}, ""); prompt_handle_on_change(); } |