Skip to content

Terminal stays open while webview is open (Deno) #196

@ZombieB1309

Description

@ZombieB1309

Hi, I've been trying to hide the console window created by the webview in a compiled Deno binary.

Using --no-terminal in the compilation flags and starting the binary with a minimal script (see below) results in a terminal still showing up.

import { createWebView } from "@justbe/webview";

const webview = await createWebView({
    title: "Deno WebView Test",
    url: "https://google.com",
    size: {
        width: 854,
        height: 480
    },
    ipc: true,
});

await webview.waitUntilClosed();

When not using --no-terminal, logs are shown in what I can only assume to be the same terminal window the webview uses.

Is there an option to disable this window?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions