settings

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var I settings

I contains current settings properties from settings.yaml

Functions

func Save

func Save() error

Save saves the current settings

Types

type ErrorDisplay

type ErrorDisplay int

ErrorDisplay describes how incorrectly typed letters should be displayed

const (
	// ErrorDisplayTyped says the typed letter should be displayed
	ErrorDisplayTyped ErrorDisplay = iota
	// ErrorDisplayText says the text letter should be displayed
	ErrorDisplayText
)

func (ErrorDisplay) String

func (e ErrorDisplay) String() string

type Highlight

type Highlight int

Highlight describes how the text should be highlighted

const (
	// HighlightBackground says the text should have a background highlight
	HighlightBackground Highlight = iota
	// HighlightText says the text should have a text highlight
	HighlightText
)

func (Highlight) String

func (e Highlight) String() string

Jump to

Keyboard shortcuts

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