mirror of https://github.com/liamg/aminal.git
Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingoBot <bot@codelingo.io>
This commit is contained in:
parent
8a56135a39
commit
3ac08963b1
|
@ -20,7 +20,7 @@ type TerminalState struct {
|
||||||
CurrentCharset int // active charset index in Charsets array, valid values are 0 or 1
|
CurrentCharset int // active charset index in Charsets array, valid values are 0 or 1
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewTerminalMode creates a new terminal state
|
// NewTerminalState creates a new terminal state
|
||||||
func NewTerminalState(viewCols uint16, viewLines uint16, attr CellAttributes, maxLines uint64) *TerminalState {
|
func NewTerminalState(viewCols uint16, viewLines uint16, attr CellAttributes, maxLines uint64) *TerminalState {
|
||||||
b := &TerminalState{
|
b := &TerminalState{
|
||||||
cursorX: 0,
|
cursorX: 0,
|
||||||
|
|
Loading…
Reference in New Issue