hotkey

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(ctx context.Context, fn func())

Handle registers an application global hotkey to the system, and returns a channel that will signal if the hotkey is triggered.

No customization for the hotkey, the hotkey is always: Linux: Ctrl+Mod4+s macOS: Ctrl+Option+s Windows: Unsupported

Types

This section is empty.

Jump to

Keyboard shortcuts

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