From d757e399928926b16fc176ed65ccd18c02bdaadd Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sat, 13 Sep 2025 22:22:53 +0200 Subject: [PATCH] make linter happy --- internal/terminal/terminal_posix.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/internal/terminal/terminal_posix.go b/internal/terminal/terminal_posix.go index b279b0728..e8a5abc59 100644 --- a/internal/terminal/terminal_posix.go +++ b/internal/terminal/terminal_posix.go @@ -8,9 +8,12 @@ import ( ) const ( + // PosixControlMoveCursorHome moves cursor to the first column PosixControlMoveCursorHome = "\r" - PosixControlMoveCursorUp = "\x1b[1A" - PosixControlClearLine = "\x1b[2K" + // PosixControlMoveCursorUp moves cursor up one line + PosixControlMoveCursorUp = "\x1b[1A" + // PosixControlClearLine clears the current line + PosixControlClearLine = "\x1b[2K" ) // PosixClearCurrentLine removes all characters from the current line and resets the