forked from Blendman974/faceclaw
Add tokens and faceclaw-input script, which allows using a CLI utility as an input device for the glasses
This commit is contained in:
1 parent
313ba85708
commit
ccb320c66f
32 files changed
+1785
-12
No files matched your search
@@ -362,7 +362,8 @@ global.onmessage = (event: { data: WorkerAppMessage }) => {
|
||||
// Enter ("\r") after a wrapper-side pause so paste-detecting apps
|
||||
// (e.g. Claude Code) submit instead of inserting a newline.
|
||||
if (window && window.kind === "view") {
|
||||
window.client.submitInput(message.text);
|
||||
if (message.submit === false) window.client.sendInput(message.text);
|
||||
else window.client.submitInput(message.text);
|
||||
} else if (window && window.kind === "hub" && window.mode === "add") {
|
||||
terminalNewConnectionSetting.set(message.text);
|
||||
scheduleRender(window);
|
||||
|
||||
Reference in new issue
Block a user