Add visual feedback about typing commands

This commit is contained in:
Alessandro Pignotti 2025-03-02 13:45:31 +01:00
parent 9e97d44c13
commit 29377a9fe3

View File

@ -73,6 +73,12 @@
} else if (tool.action === "wait") { } else if (tool.action === "wait") {
icon = "fa-hourglass-half"; icon = "fa-hourglass-half";
messageContent = "Waiting"; messageContent = "Waiting";
} else if (tool.action === "key") {
icon = "fa-keyboard";
messageContent = `Key press: ${tool.text}`;
} else if (tool.action === "type") {
icon = "fa-keyboard";
messageContent = "Type text";
} else { } else {
icon = "fa-screwdriver-wrench"; icon = "fa-screwdriver-wrench";
messageContent = "Use the system"; messageContent = "Use the system";