{"version":"2.1.225","anchor":"spinner-control-moved-behind-an-event-emitter","canonical_anchor":"spinner-control-moved-behind-an-event-emitter","heading":"Spinner control moved behind an event emitter","tier":"internal","area":"Terminal UI","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.225\/e\/spinner-control-moved-behind-an-event-emitter","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.225","markdown":"### Spinner control moved behind an event emitter\n\nThe spinner's text and colours are now updated through a shared event channel.\n\n**What**\n\nSpinner text and colour updates go through a shared event emitter instead of calling into the render layer directly.\n\n**Details**\n\n- a new module exposes `setSpinnerMessage` and `setSpinnerColors`\n- these emit `main-message` and `main-colors` events on a shared emitter\n- a handler switch on the receiving side applies them\n\n**Evidence**\n\n`kind: \"main-colors\"`\n\n- Area: Terminal UI\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}