fix(cli): /bg completion rings through _ring_bell like every other bell site
The side-worker (/bg, /btw, /login) hand-rolled its bell with a bare sys.stdout '\a' and so never emitted the OSC 9 / OSC 777 desktop notification the other end-of-work sites get. Route it through _ring_bell, which also owns the bell_on_complete gate and the app-loop serialization.
This commit is contained in:
@@ -1999,9 +1999,8 @@ class CLICommandsMixin:
|
||||
_print_side_result_panel(self, header_lines=header_lines, body=body,
|
||||
title_suffix=title_suffix, empty_note=empty_note,
|
||||
console=console)
|
||||
if bell and self.bell_on_complete:
|
||||
sys.stdout.write("\a")
|
||||
sys.stdout.flush()
|
||||
if bell:
|
||||
self._ring_bell(context=f"{fail_label} complete")
|
||||
except Exception as e:
|
||||
_refresh_tui_before_print(self)
|
||||
line = f" ❌ {fail_label} failed: {e}"
|
||||
|
||||
Reference in New Issue
Block a user