From df4e862e887ae412eab81778fb664c07415f2401 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 14 Jan 2026 11:40:48 +0100 Subject: [PATCH] remove deprecated ErrInvalidState This error was deprecated in fddc34e5d6a58010ba30c4d0a0534c774085a539 (v0.5.0), and has no known consumers. Signed-off-by: Sebastiaan van Stijn --- term_unix.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/term_unix.go b/term_unix.go index 579ce55..f184bb8 100644 --- a/term_unix.go +++ b/term_unix.go @@ -11,11 +11,6 @@ import ( "golang.org/x/sys/unix" ) -// ErrInvalidState is returned if the state of the terminal is invalid. -// -// Deprecated: ErrInvalidState is no longer used. -var ErrInvalidState = errors.New("Invalid terminal state") - // terminalState holds the platform-specific state / console mode for the terminal. type terminalState struct { termios unix.Termios