From 3ac08963b1141f4fe4bf4cbf00cf44999d3bbc1a Mon Sep 17 00:00:00 2001 From: CodeLingoBot Date: Thu, 21 Mar 2019 16:17:10 +1300 Subject: [PATCH] Fix function comments based on best practices from Effective Go Signed-off-by: CodeLingoBot --- buffer/terminal_state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buffer/terminal_state.go b/buffer/terminal_state.go index 38b9972..ef08573 100644 --- a/buffer/terminal_state.go +++ b/buffer/terminal_state.go @@ -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,