Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix readline support (alternative fix)#4137

Open
florentx wants to merge 1 commit into
Textualize:mainTextualize/rich:mainfrom
florentx:fix_readlineflorentx/rich:fix_readlineCopy head branch name to clipboard
Open

Fix readline support (alternative fix)#4137
florentx wants to merge 1 commit into
Textualize:mainTextualize/rich:mainfrom
florentx:fix_readlineflorentx/rich:fix_readlineCopy head branch name to clipboard

Conversation

@florentx

@florentx florentx commented May 21, 2026

Copy link
Copy Markdown

bug #4135

Type of changes

  • Bug fix
  • New feature
  • Documentation / docstrings
  • Tests
  • Other

AI?

  • AI was used to generate this PR

AI generated PRs may be accepted, but only if @willmcgugan has responded on an issue or discussion.

Checklist

  • I've run the latest black with default args on new code.
  • I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate (see note about typos above).
  • [ ] I've added tests for new code.
  • I accept that @willmcgugan may be pedantic in the code review.

Description

This is a smaller fix, for same issue:

The input(...) builtins deals correctly with readline when it receives a prompt to print.
It is explained here: https://docs.python.org/library/functions#input

It consists of passing a non-empty string to input(...): [ space ] + [ backspace ].

@florentx
florentx marked this pull request as ready for review May 21, 2026 16:59
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.