gclicom

package
v3.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package gclicom provides common types, definitions for gcli

Index

Constants

View Source
const TextPosMiddle = TextPosCenter

Variables

View Source
var Output io.Writer = os.Stdout

Output the global input out stream

Functions

func ResetOutput

func ResetOutput()

ResetOutput stream

func SetOutput

func SetOutput(out io.Writer)

SetOutput stream

Types

type BorderPos

type BorderPos uint8
const (
	BorderPosTop BorderPos = iota
	BorderPosBottom
	BorderPosLeft
	BorderPosRight
	BorderPosTB // Top & Bottom
	BorderPosLR // Left & Right
	BorderPosAll
)

type TextPos

type TextPos uint8
const (
	TextPosLeft TextPos = iota
	TextPosCenter
	TextPosRight
)

Jump to

Keyboard shortcuts

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