out

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package out implements producing output to terminal user interface.

Index

Constants

This section is empty.

Variables

View Source
var Screen tcell.Screen

Screen is used to show text on console and poll input events (key press, console resize, could add mouse).

Functions

func DrawEvent

func DrawEvent(updateViewEvent events.UpdateViewEvent)

DrawEvent crates appropriate changes to screen for given event. Usually either refresh whole screen or just update status message.

func GetScreenSize

func GetScreenSize() (width, height int)

GetScreenSize returns size of console screen.

func Init

func Init()

Init initializes console screen.

func Stop

func Stop()

Stop terminates console screen.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳