Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ jupyter notebook
3. The release notes are automatically generated as a draft release after each PR.
4. Create a GitHub release from the draft release against the newly pushed tag

## Known issues

### Uncaptured stdout

This kernel uses xonsh with [`$XONSH_CAPTURE_ALWAYS = True`](https://xon.sh/envvars.html#xonsh-capture-always) and some commands that have waiting for user input could be uncaptured.

## Credits

* This package was created with [xontrib cookiecutter template](https://github.com/xonsh/xontrib-cookiecutter).
Expand Down
5 changes: 4 additions & 1 deletion xonsh_jupyter/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,10 @@ def handle_kernel_info_request(self, message, identities):
def main():
setup(
shell_type=JupyterShell,
env={"PAGER": "cat"},
env={
"PAGER": "cat",
"XONSH_CAPTURE_ALWAYS": True,
},
aliases={"less": "cat"},
xontribs=["coreutils"],
threadable_predictors={"git": predict_true, "man": predict_true},
Expand Down