{"version":"2.1.319","anchor":"posttooluse-hooks-hold-back-aborts-tengu-agile-sunbeam","canonical_anchor":"posttooluse-hooks-hold-back-aborts-tengu-agile-sunbeam","heading":"Pressing Esc can wait for PostToolUse hooks to finish","tier":"notice","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.319\/e\/posttooluse-hooks-hold-back-aborts-tengu-agile-sunbeam","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.319","markdown":"### Pressing Esc can wait for PostToolUse hooks to finish\n\nBehind a remote setting, Claude Code can hold back an Esc interrupt until PostToolUse hooks finish, for some tools\n\n**Unclear.** Whether this is switched on by default is not settled.\n\n**What**\n\nHooks are your own scripts that Claude Code runs at set points, and `PostToolUse` hooks run after a tool call succeeds. A tool call is one action Claude takes, such as editing a file. Some tools discard their result when you interrupt them with Esc. For those tools, Claude Code can now hold the interrupt back until the `PostToolUse` hooks have finished.\n\nThis sits behind a setting that Anthropic controls remotely.\n\n**Why**\n\nYour hooks can finish their work after you press Esc instead of being cut off partway.\n\n- Area: Hooks\n- Names: `PostToolUse`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}