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

Always show overview ruler decorations before command execution #153137

Merged
merged 1 commit into from Jun 24, 2022

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Jun 24, 2022

Originally we hid the overview ruler decoration for command currently being input
and executed. This ended up causing problems for commands that took a while to run
and task decoration support as they would not get a mark in the overview ruler
until the command finished. For simplicity let's just always show this, so there
will basically always be a grey mark at the very bottom for the cursor line, but
that is at least consistent and then we don't need to juggle different overview
ruler options depending on the state of the command.

Fixes #152663


Task showing the in progress overview ruler decoration:

image

Terminal showing input line overview ruler decoration:

image

Originally we hid the overview ruler decoration for command currently being input
and executed. This ended up causing problems for commands that took a while to run
and task decoration support as they would not get a mark in the overview ruler
until the command finished. For simplicity let's just always show this, so there
will basically always be a grey mark at the very bottom for the cursor line, but
that is at least consistent and then we don't need to juggle different overview
ruler options depending on the state of the command.

Fixes #152663
@Tyriar Tyriar added this to the June 2022 milestone Jun 24, 2022
@Tyriar Tyriar requested a review from meganrogge June 24, 2022 15:17
@Tyriar Tyriar self-assigned this Jun 24, 2022
@Tyriar Tyriar merged commit 52bac0c into main Jun 24, 2022
@Tyriar Tyriar deleted the tyriar/152663 branch June 24, 2022 16:02
@github-actions github-actions bot locked and limited conversation to collaborators Aug 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants