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

Print external command output in the status bar #557

Closed
simark opened this issue Dec 20, 2016 · 1 comment
Closed

Print external command output in the status bar #557

simark opened this issue Dec 20, 2016 · 1 comment
Milestone

Comments

@simark
Copy link

simark commented Dec 20, 2016

Is it possible to have an external command print something in the bottom status bar? For example, I am thinking of enhancing the "copy sha1 to clipboard" example to have it print something to let the user know that the action was triggered:

bind generic 9 !sh -c "echo -n %(commit) | xclip -selection c && echo Copied %(commit) to clipboard"

However, instead of hiding the tig interface and show the output along with "Press Enter to continue", it would be nice to show this in the status bar. Is there any way to do this?

@jonas
Copy link
Owner

jonas commented Jul 27, 2017

Fixed as of commit 4a3d90a

@jonas jonas closed this as completed Jul 27, 2017
@jonas jonas added this to the tig-2.3 milestone Jul 27, 2017
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

2 participants