diff options
author | Jonathan Slenders <jonathan@slenders.be> | 2016-12-28 14:35:40 +0100 |
---|---|---|
committer | Jonathan Slenders <jonathan@slenders.be> | 2016-12-28 14:35:43 +0100 |
commit | 9b8b21c5fc50987162a3278b55663f3425013a32 (patch) | |
tree | 637510d0858503fd6159c652a91587f368e0f68a | |
parent | e4448ad723e34481cae29fecf1aacaf020b8bf37 (diff) |
Pass `raw=True` to the `stdout_context` in `prompt_toolkit.shortcuts`.
This is the logical and least confusing default. This is even more important,
because there is no obvious way to change this setting.
-rw-r--r-- | prompt_toolkit/shortcuts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prompt_toolkit/shortcuts.py b/prompt_toolkit/shortcuts.py index 773cef4b..9893624c 100644 --- a/prompt_toolkit/shortcuts.py +++ b/prompt_toolkit/shortcuts.py @@ -594,7 +594,7 @@ def run_application( cli.on_stop += stop_refresh_loop # Replace stdout. - patch_context = cli.patch_stdout_context() if patch_stdout else DummyContext() + patch_context = cli.patch_stdout_context(raw=True) if patch_stdout else DummyContext() # Read input and return it. if return_asyncio_coroutine: |