Remove an unused function (*Watcher) updateLastLine

This commit is contained in:
HAYAMA_Kaoru
2024-12-01 13:09:16 +09:00
parent 7bde4e070b
commit 5abb509017
-3
View File
@@ -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 {