buffer

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(add rune) (requiredUpdates int)

func CanSafeQuit added in v0.3.0

func CanSafeQuit() (isPossible bool)

func Down

func Down(oldX int, isInsert bool) (possible bool, newX int)

func GetBottom added in v0.2.0

func GetBottom(currentY, getY int) (bottom string)

func GetLine added in v0.2.0

func GetLine() (previous string)

func Init

func Init(name string) (arr []rune)

func Left

func Left() (possible bool)

func Log added in v0.2.0

func Log(name, text string)

func Redraw added in v0.3.0

func Redraw(yCurrent, height int) (arr []rune)

func Remove

func Remove() (possible bool, newX, requiredUpdates int)

func RemoveCurrent added in v0.3.0

func RemoveCurrent() (possible, xBack bool, requiredUpdates int)

func RemoveLine added in v0.3.0

func RemoveLine() (yBack, isEmpty bool)

func RemoveRestOfLine added in v0.3.0

func RemoveRestOfLine() (requiredUpdates int)
func Right(isInsert bool) (possible bool)

func Save

func Save() (err error)
func Search(word string, yCurrent, height int) (xPoints, yPoints []int)

func Up

func Up(oldX int, isInsert bool) (possible bool, newX int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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