Also test changing of title when running command

This commit is contained in:
Kovid Goyal
2022-02-21 20:44:10 +05:30
parent 261057396c
commit da5e37620e
3 changed files with 11 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ class Callbacks:
self.wtcbuf += data
def title_changed(self, data) -> None:
self.titlebuf += data
self.titlebuf.append(data)
def icon_changed(self, data) -> None:
self.iconbuf += data
@@ -61,7 +61,8 @@ class Callbacks:
def clear(self) -> None:
self.wtcbuf = b''
self.iconbuf = self.titlebuf = self.colorbuf = self.ctbuf = ''
self.iconbuf = self.colorbuf = self.ctbuf = ''
self.titlebuf = []
self.iutf8 = True
self.notifications = []
self.open_urls = []