Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add escape codes for shell integration (OSC 133) #349

Open
ybc37 opened this issue Jul 10, 2024 · 0 comments
Open

Add escape codes for shell integration (OSC 133) #349

ybc37 opened this issue Jul 10, 2024 · 0 comments

Comments

@ybc37
Copy link
Contributor

ybc37 commented Jul 10, 2024

It seems to get more common for terminal emulators/multiplexers [1] to have support for shell integration, e.g. having shortcuts to jump from prompt to prompt. This requires that the shell prompt to print some escape codes, see:

https://gitlab.freedesktop.org/Per_Bothner/specifications/blob/master/proposals/semantic-prompts.md

It would be great to have pure print those escape codes so it's possible to use these features. Or is there an easy way to print those codes via pure's configuration?

(There is a separate fish plugin, which adds those codes: https://github.com/acomagu/fish-osc133. Still it would be great to have it in the prompt and not rely on another plugin.)

[1]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant