{"version":"2.1.295","anchor":"non-interactive-text-output-centralised-stdin-frame-filter","canonical_anchor":"non-interactive-text-output-centralised-stdin-frame-filter","heading":"Print mode's final output is handled in one place","tier":"internal","area":"Print Mode","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.295\/e\/non-interactive-text-output-centralised-stdin-frame-filter","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.295","markdown":"### Print mode's final output is handled in one place\n\nThe text `-p` mode prints at the end of a turn and at exit, such as max-turns and budget messages, now goes through a shared printer\n\n**Unclear.** Whether the text printed in `-p` mode now looks different is not known.\n\n**What**\n\nIn print mode (`-p`), where Claude Code answers once and prints the result instead of opening an interactive session, the final text used to be printed by a block that handled each kind of result separately, including the \"Reached max turns\" and \"Exceeded USD budget\" messages. That output now goes through shared steps that print at the end of each turn and at exit.\n\nSeparately, the part that reads input from a remote connection can now be told to drop certain kinds of incoming messages.\n\n**Why**\n\nThis may change when partly written text appears in `-p` mode.\n\n- Area: Print Mode\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}