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

Append output to preview #33

Merged
merged 3 commits into from
Jan 8, 2023
Merged

Conversation

guicassolato
Copy link
Owner

@guicassolato guicassolato commented Jan 8, 2023

run-in-background

  • New option to default to running code blocks in a separate shell in the background instead of the in the integrated terminal
    • New configuration option: tothom.runInBackgroundByDefault
    • Runs the code block in a separate shell in the background and appends the returned output to the preview window
    • Ignored if the preview is currently bound to a terminal
  • New command ⇧ ⌘ P Clear terminal selection - removes the binding between the activate preview and a terminal
  • New option tothom.saveEnvToTmp to save env variables to temporary file when running code blocks in a separate shell in the background - allows to re-use sheel variables set in one code block into another when running in a separate shell in the background
  • Usage animated gifs updated

Close #6.

…he background instead of the in the integrated terminal

* New configuration option: tothom.runInBackgroundByDefault
  * Runs the code block in a separate shell in the background
  * Appends the returned output to the preview window
  * Ignored if the preview is currently bound to a terminal
* New command 'Clear terminal selection' - removes the binding between the activate preview and a terminal
…ile when running code blocks in a separate shell in the background
@guicassolato guicassolato merged commit 76b1959 into main Jan 8, 2023
@guicassolato guicassolato deleted the feature/append-terminal-output branch January 8, 2023 08:57
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.

Append terminal output to preview
1 participant