From a3aed412b8b4c897c84eb84805a5fa7989222d0f Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Fri, 13 Sep 2024 10:12:16 -0400 Subject: [PATCH] fix(ansi): remove unused --- ansi/parser.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ansi/parser.go b/ansi/parser.go index 63654c04..e1a09df7 100644 --- a/ansi/parser.go +++ b/ansi/parser.go @@ -82,13 +82,6 @@ func (p *Parser) clear() { p.Cmd = 0 } -// clearCmd clears the parser command, params len and data len. -func (p *Parser) clearCmd() { - p.Cmd = 0 - p.ParamsLen = 0 - p.DataLen = 0 -} - // StateName returns the name of the current state. func (p *Parser) StateName() string { return parser.StateNames[p.State]