Documentation
¶
Index ¶
Constants ¶
View Source
const ( BACKSPACE = 127 ARROW_UP = 1000 + iota ARROW_DOWN ARROW_LEFT ARROW_RIGHT DEL_KEY HOME_KEY END_KEY PAGE_UP PAGE_DOWN )
View Source
const TAB_LENGHT = 4
Variables ¶
This section is empty.
Functions ¶
func ExitWithMessage ¶
func ExitWithMessage(message string)
Types ¶
type CursorPosition ¶
type CursorPosition struct {
X, Y int
}
type Editor ¶
type Editor struct {
// contains filtered or unexported fields
}
func (*Editor) EnterReaderLoop ¶
func (editor *Editor) EnterReaderLoop()
func (*Editor) SetStatusMessage ¶
func (*Editor) SetWindowSize ¶
func (editor *Editor) SetWindowSize()
type StatusMessage ¶
type TerminalSize ¶
type TerminalSize struct {
Rows, Columns int
}
Click to show internal directories.
Click to hide internal directories.