From c75382ad23c289e438187388ea89d1d89e694219 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Mon, 3 Jul 2023 05:53:56 +0900 Subject: [PATCH] term: fix typo in term_windows.c.v (#18745) --- vlib/term/term_windows.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{}