Documentation ¶
Index ¶
- Constants
- func GetMaxXY() (maxX int, maxY int)
- type Cell
- type Civ
- type QueryLine
- func (q *QueryLine) BackwardChar()
- func (q *QueryLine) ClearAll()
- func (q *QueryLine) ClearQuery()
- func (q *QueryLine) DeleteChar()
- func (q *QueryLine) InputChar(r rune)
- func (q *QueryLine) MoveBackward()
- func (q *QueryLine) MoveForward()
- func (q *QueryLine) MoveToEnd()
- func (q *QueryLine) MoveToTop()
- func (q *QueryLine) QueryLen() int
- func (q *QueryLine) TruncateChars()
- type Row
- type Table
- func (t *Table) AddDisabledCol(idx int)
- func (t *Table) Debugdump()
- func (t *Table) FindColName(name string) (int, bool)
- func (t *Table) IsColEnabled(colNum int) bool
- func (t *Table) MoveDown(move int)
- func (t *Table) MoveLeft(move int)
- func (t *Table) MoveRight(move int)
- func (t *Table) MoveUp(move int)
- func (t *Table) NEnabledCols() int
- func (t *Table) RemoveDisabledCol(idx int)
- func (t *Table) ResetDisabledCol()
- func (t *Table) ResetVisibility()
- func (t *Table) SetMatched(r int, c int, b int, e int)
- func (t *Table) SetOffsetRow(r int)
- func (t *Table) SetRowVisibility(rowIdx int, visible bool)
- type Terminal
Constants ¶
View Source
const ( MODE_VIEW = 1 MODE_COMMAND = 2 MODE_SEARCH = 3 MODE_FILTER = 4 )
Modes
View Source
const (
SCROLL_SIZE = 1
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Civ ¶
type Civ struct {
// contains filtered or unexported fields
}
func (*Civ) ExecuteCommand ¶
func (c *Civ) ExecuteCommand()
type QueryLine ¶
type QueryLine struct {
// contains filtered or unexported fields
}
func NewQueryLine ¶
func NewQueryLine() *QueryLine
func (*QueryLine) BackwardChar ¶
func (q *QueryLine) BackwardChar()
func (*QueryLine) ClearQuery ¶
func (q *QueryLine) ClearQuery()
func (*QueryLine) DeleteChar ¶
func (q *QueryLine) DeleteChar()
func (*QueryLine) MoveBackward ¶
func (q *QueryLine) MoveBackward()
func (*QueryLine) MoveForward ¶
func (q *QueryLine) MoveForward()
func (*QueryLine) TruncateChars ¶
func (q *QueryLine) TruncateChars()
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
func (*Table) AddDisabledCol ¶
Add the idx'th column to disabled column list. That is, make it invisible
func (*Table) FindColName ¶
Return true and position if the given name is in col names
func (*Table) IsColEnabled ¶
func (*Table) NEnabledCols ¶
func (*Table) RemoveDisabledCol ¶
Remove the idx'th column from disabled column list. That is, make it visible
func (*Table) ResetDisabledCol ¶
func (t *Table) ResetDisabledCol()
func (*Table) ResetVisibility ¶
func (t *Table) ResetVisibility()
func (*Table) SetOffsetRow ¶
func (*Table) SetRowVisibility ¶
Click to show internal directories.
Click to hide internal directories.