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

Terminal tab progress reporting using OSC 9;4; ANSI sequence #13072

Open
bluetech opened this issue Dec 17, 2024 · 0 comments
Open

Terminal tab progress reporting using OSC 9;4; ANSI sequence #13072

bluetech opened this issue Dec 17, 2024 · 0 comments
Labels
good first issue easy issue that is friendly to new contributor topic: reporting related to terminal output and user-facing messages and errors type: proposal proposal for a new feature, often to gather opinions or design the API around the new feature

Comments

@bluetech
Copy link
Member

What's the problem this feature will solve?

I've learned about a new feature that some terminal emulators are starting to add, which shows progress of a process on the terminal tab. I've learned about it from here. Screenshot of how it will look in Gnome (Linux) from here. Seems like a good fit for pytest, allowing a user start a pytest run, do something in another tab and see at a glance the pytest progress.

image

Describe the solution you'd like

The sequence is documented here.

It should be implemented in the terminal plugin, in TerminalReporter, probably in pytest_runtest_logreport.

My only concern is that it's a global effect on the terminal tab, which pytest doesn't have until now as far as I remember. But it's probably fine and if someone complains we can make it optional.

@bluetech bluetech added type: proposal proposal for a new feature, often to gather opinions or design the API around the new feature topic: reporting related to terminal output and user-facing messages and errors good first issue easy issue that is friendly to new contributor labels Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue easy issue that is friendly to new contributor topic: reporting related to terminal output and user-facing messages and errors type: proposal proposal for a new feature, often to gather opinions or design the API around the new feature
Projects
None yet
Development

No branches or pull requests

1 participant