gott

package
Version: v0.0.0-...-a543747 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package gott is an experimental top-level interface for embedding gott in gomobile apps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

type Buffer struct {
	Characters string
	Rows       int
	Cols       int
}

type Editor

type Editor struct {
	State  int
	Buffer Buffer
}

func NewEditor

func NewEditor() *Editor

func (*Editor) HandleEvent

func (e *Editor) HandleEvent(ev *Event) *Buffer

type Event

type Event struct {
	Code     int
	Key      int
	Modifier int
	X        int
	Y        int
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL