diff --git a/packages/coding-agent/src/modes/interactive/components/user-message.ts b/packages/coding-agent/src/modes/interactive/components/user-message.ts index 104d51b7..ccb44881 100644 --- a/packages/coding-agent/src/modes/interactive/components/user-message.ts +++ b/packages/coding-agent/src/modes/interactive/components/user-message.ts @@ -3,6 +3,7 @@ import { getMarkdownTheme, theme } from "../theme/theme.js"; const OSC133_ZONE_START = "\x1b]133;A\x07"; const OSC133_ZONE_END = "\x1b]133;B\x07"; +const OSC133_ZONE_FINAL = "\x1b]133;C\x07"; /** * Component that renders a user message @@ -26,7 +27,7 @@ export class UserMessageComponent extends Container { } lines[0] = OSC133_ZONE_START + lines[0]; - lines[lines.length - 1] = lines[lines.length - 1] + OSC133_ZONE_END; + lines[lines.length - 1] = lines[lines.length - 1] + OSC133_ZONE_END + OSC133_ZONE_FINAL; return lines; } }