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

Avoid black screen after :silent !command #26

Merged
merged 1 commit into from Feb 26, 2018
Merged

Avoid black screen after :silent !command #26

merged 1 commit into from Feb 26, 2018

Conversation

modood
Copy link
Contributor

@modood modood commented Feb 26, 2018

According to :help :silent

":silent" will also avoid the hit-enter prompt.  When
using this for an external command, this may cause the
screen to be messed up.  Use |CTRL-L| to clean it up
then.

When you run :silent !ls for example, vim becomes black.
Vim continues to function normally, but there is black screen without displaying anything.
thus you have to refresh the screen manually.

This PR is to avoid black screen.

`silent` will avoid the hit-enter prompt.
But this may cause the screen to be messed up.
@sebdah sebdah self-assigned this Feb 26, 2018
@sebdah
Copy link
Owner

sebdah commented Feb 26, 2018

Cool, this looks like a solid change. Thanks for the contribution @modood!

@sebdah sebdah merged commit 2f2a61e into sebdah:master Feb 26, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants