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

Add tmux fallback in case output of last cmd is not available #4

Merged
merged 1 commit into from
Jan 1, 2022

Conversation

dev2718
Copy link

@dev2718 dev2718 commented Jan 1, 2022

If running in tmux, use the text currently visible on screen (or more precisely in the currently active tmux-pane) if command output is not available.

For tmux users this gives the benefits of:
*) Circumventing having to set $XONSH_CAPTURE_ALWAYS = True, which breaks commands like "git commit",
*) Circumventing the known issue "cat file is not captured".

@anki-code anki-code merged commit da77310 into anki-code:master Jan 1, 2022
@anki-code
Copy link
Owner

Hi @dev2718! Very nice! Thanks!

@anki-code anki-code added this to the 0.5.5 milestone Jan 1, 2022
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