Fix function comments based on best practices from Effective Go

Signed-off-by: CodeLingoBot <bot@codelingo.io>
This commit is contained in:
CodeLingoBot 2019-03-21 16:17:10 +13:00
parent 8a56135a39
commit 3ac08963b1
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ type TerminalState struct {
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 {
b := &TerminalState{
cursorX: 0,