vtconsole

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT, MIT Imports: 6 Imported by: ? 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 vtconsole binds and unbinds the kernel's console drivers from the virtual terminals through /sys/class/vtconsole. With the framebuffer console unbound, a switch of the active VT to text mode draws nothing and leaves the frame a DRM master left on screen.

Index

Constants

View Source
const Dir = "/sys/class/vtconsole"

Dir is the kernel's class of VT console drivers.

Variables

This section is empty.

Functions

func Bind

func Bind(dir string, entries []string) error

Bind binds the consoles in dir that UnbindFramebuffer returned.

func UnbindFramebuffer

func UnbindFramebuffer(dir string) ([]string, error)

UnbindFramebuffer unbinds every bound framebuffer console in dir and returns the entries it unbound, for Bind. A kernel without VT consoles has nothing to unbind.

Types

This section is empty.

Jump to

Keyboard shortcuts

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