auto

package
v0.1.0-alpha.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package auto opens the native window shell for the current OS: X11 on Linux, Win32 on Windows, Cocoa on macOS. It is the only package the app layer needs to import.

Threading: call auto.Open from inside mainthread.Run on every OS (it is mandatory on macOS and harmless elsewhere) so the program has one shape.

Index

Constants

View Source
const Backend = "x11"

Backend names the implementation in use (for --stats and bug reports).

Variables

This section is empty.

Functions

func Open

func Open(cfg shell.Config) (shell.Window, error)

Open opens a window with the X11 shell ($DISPLAY).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL