diff --git a/vlib/term/term_windows.c.v b/vlib/term/term_windows.c.v index 33f2803e07..a1632252bb 100644 --- a/vlib/term/term_windows.c.v +++ b/vlib/term/term_windows.c.v @@ -55,7 +55,7 @@ fn C.SetConsoleCursorPosition(handle C.HANDLE, coord C.COORD) bool // ref - https://docs.microsoft.com/en-us/windows/console/scrollconsolescreenbuffer fn C.ScrollConsoleScreenBuffer(output C.HANDLE, scroll_rect &C.SMALL_RECT, clip_rect &C.SMALL_RECT, des C.COORD, fill &C.CHAR_INFO) bool -// get_terminal_size returns a number of colums and rows of terminal window. +// get_terminal_size returns a number of columns and rows of terminal window. pub fn get_terminal_size() (int, int) { if os.is_atty(1) > 0 && os.getenv('TERM') != 'dumb' { info := C.CONSOLE_SCREEN_BUFFER_INFO{}