Help us shape the future of Go! Take the 2026 Go Developer Survey

komanda

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2016 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// InputHistory buffer
	InputHistory = history.New()
)
View Source
var Server *client.Server

Server global TODO: this is bad fix later

Functions

func FocusAndResetAll

func FocusAndResetAll(g *gocui.Gui, v *gocui.View) error

FocusAndResetAll will put the status and input views ontop and reset the input content

func FocusInputView

func FocusInputView(g *gocui.Gui, v *gocui.View) error

FocusInputView puts the input view ontop

func FocusStatusView

func FocusStatusView(g *gocui.Gui, v *gocui.View) error

FocusStatusView pus the status window ontop

func GetLine

func GetLine(g *gocui.Gui, v *gocui.View) error

GetLine and send the content to the current view

func Run

func Run(build string, server *client.Server)

Run ui loop

func ScrollDown

func ScrollDown(g *gocui.Gui, cv *gocui.View) error

ScrollDown view by one

func ScrollUp

func ScrollUp(g *gocui.Gui, cv *gocui.View) error

ScrollUp view by one

func ScrollView

func ScrollView(v *gocui.View, dy int) error

ScrollView by a given offset

Types

This section is empty.

Directories

Path Synopsis
share

Jump to

Keyboard shortcuts

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