Documentation ¶
Overview ¶
Package console allows working with Linux consoles in graphics mode, typically for using the Linux frame buffer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handle ¶
type Handle struct {
// contains filtered or unexported fields
}
A Handle represents an active Linux console.
func LeaseForGraphics ¶
LeaseForGraphics opens the next free Linux console in graphics mode. You must call Cleanup() when done to switch back to the previous Linux console.
func (*Handle) Cleanup ¶
Cleanup switches the current console from graphics mode back to text mode, then switches to the previous console, and finally disallocates the console.
Click to show internal directories.
Click to hide internal directories.