From 5abb509017a0bdc596a757e1077320c358fb0177 Mon Sep 17 00:00:00 2001 From: HAYAMA_Kaoru Date: Sun, 1 Dec 2024 11:39:38 +0900 Subject: [PATCH] Remove an unused function `(*Watcher) updateLastLine` --- watcher.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/watcher.go b/watcher.go index 6ee94b5..a40cd6c 100644 --- a/watcher.go +++ b/watcher.go @@ -35,9 +35,6 @@ func NewWatcher(pty io.ReadWriter) *Watcher { return &Watcher{ch: pipeline} } -func (W *Watcher) updateLastLine() { -} - func (W *Watcher) checkWords(token string, words []string) int { W.lastline += token for i, word := range words {