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

Pause outputting lines when the user is selecting text #2001

Open
almonk opened this issue Jul 26, 2024 · 2 comments
Open

Pause outputting lines when the user is selecting text #2001

almonk opened this issue Jul 26, 2024 · 2 comments
Labels
gui GUI or app issue regardless of platform (i.e. Swift, GTK)

Comments

@almonk
Copy link
Collaborator

almonk commented Jul 26, 2024

Problem:
It always bugs me when i start copying something out the terminal but some ongoing process keeps outputting newlines AS i'm trying to select something.

Proposed solution:
Ghostty buffers new lines while mouseDown and gives some sort of UI indication that there are newlines being collected in the background.

When the user fires mouseUp, and the selection has stopped, the collected lines are output but the scroll position does not change so as not to create a jarring experience. Autoscrolling should re-engage if the user scrolls to the tail of output.

Frame 8

@tristan957
Copy link
Collaborator

AdwToast would be a perfect UI solution for this on the libadwaita side.

@mitchellh
Copy link
Contributor

As a simplification initially, we can show an icon (that's clickable) that more lines simply exist. Counting the number of lines introduces a bunch of unnecessary complexity to initially ship this improvement.

@mitchellh mitchellh changed the title Feature Request: Pause outputting lines when the user is selecting text Pause outputting lines when the user is selecting text Oct 6, 2024
@mitchellh mitchellh added the gui GUI or app issue regardless of platform (i.e. Swift, GTK) label Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gui GUI or app issue regardless of platform (i.e. Swift, GTK)
Projects
None yet
Development

No branches or pull requests

3 participants