app: log transmit state changes to chatlog
This commit is contained in:
@@ -444,6 +444,11 @@ class TuimbleApp(App):
|
||||
self._audio.capturing = transmitting
|
||||
status = self.query_one("#status", StatusBar)
|
||||
status.ptt_active = transmitting
|
||||
chatlog = self.query_one("#chatlog", ChatLog)
|
||||
if transmitting:
|
||||
chatlog.write("[#e0af68]● transmitting[/]")
|
||||
else:
|
||||
chatlog.write("[dim]○ stopped transmitting[/dim]")
|
||||
|
||||
# -- resize --------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user