FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Trying some BG prompt things. by Carreau · Pull Request #15119 · ipython/ipython · GitHub

Trying some BG prompt things. - #15119

Draft
Carreau wants to merge 1 commit into
ipython:mainfrom
Carreau:bgprompt
Draft

Trying some BG prompt things.#15119
Carreau wants to merge 1 commit into
ipython:mainfrom
Carreau:bgprompt

Conversation

Carreau commented Feb 2, 2026

Copy link
Copy Markdown
Member

No description provided.

Comment thread IPython/terminal/interactiveshell.py Outdated
Comment thread IPython/terminal/interactiveshell.py Outdated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change

Comment on lines +990 to 994
return self.pt_app.prompt(
default=default,
inputhook=self._inputhook,
**self._extra_prompt_options(),
)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

We have to be careful to not run this in the asyncio loop.

This is an attempt to fix Quansight/deshaw#53

You can enable it with

```
$ ipython --TerminalInteractiveShell.background_prompt=True
```

It is likely full of edge cases and is considered experimental

Carreau commented Apr 27, 2026

Copy link
Copy Markdown
Member Author

Ok, some rebase and cleanup to make it work on main.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL