Emit OSC 133 escape sequences to mark prompts

Resolved 💬 3 comments Opened May 31, 2025 by frangio Closed Dec 7, 2025

Many terminals now support commands and keybindings to navigate shell prompts as marked by OSC 133 escape sequences.

A spec can be found here but the gist is:

The start of a prompt is marked by sequence OSC 133 ; A ST, and the end by OSC 133 ; B ST.

(Again copied from Neovim docs.)

Claude Code could mark prompts in this way to make it easier to navigate the chat.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗