Skip to content

Commit 060c49d

Browse files
authored
Merge pull request #638 from trycua/feat/sandbox-vnc-force-cursor
Add &show_dot=true to the noVNC view for the cua CLI
2 parents 8b7dabb + d6dd366 commit 060c49d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/typescript/cua-cli/src/commands/sandbox.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async function fetchSandboxDetails(
4949
// Compute VNC URL if requested
5050
if (options.showVncUrl) {
5151
const host = sandbox.host || `${sandbox.name}.sandbox.cua.ai`;
52-
result.vnc_url = `https://${host}/vnc.html?autoconnect=true&password=${encodeURIComponent(sandbox.password)}`;
52+
result.vnc_url = `https://${host}/vnc.html?autoconnect=true&password=${encodeURIComponent(sandbox.password)}&show_dot=true`;
5353
}
5454

5555
// Probe computer-server if requested and sandbox is running
@@ -381,7 +381,7 @@ const openHandler = async (argv: Record<string, unknown>) => {
381381
sandbox.host && sandbox.host.length
382382
? sandbox.host
383383
: `${sandbox.name}.sandbox.cua.ai`;
384-
const url = `https://${host}/vnc.html?autoconnect=true&password=${encodeURIComponent(sandbox.password)}`;
384+
const url = `https://${host}/vnc.html?autoconnect=true&password=${encodeURIComponent(sandbox.password)}&show_dot=true`;
385385
console.log(`Opening NoVNC: ${url}`);
386386
await openInBrowser(url);
387387
};

0 commit comments

Comments
 (0)