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

Enable copy button for shell sessions and consoles#295

Merged
hugovk merged 2 commits into
python:mainpython/python-docs-theme:mainfrom
hugovk:copybutton-shellhugovk/python-docs-theme:copybutton-shellCopy head branch name to clipboard
Feb 27, 2026
Merged

Enable copy button for shell sessions and consoles#295
hugovk merged 2 commits into
python:mainpython/python-docs-theme:mainfrom
hugovk:copybutton-shellhugovk/python-docs-theme:copybutton-shellCopy head branch name to clipboard

Conversation

@hugovk

@hugovk hugovk commented Feb 6, 2026

Copy link
Copy Markdown
Member

@StanFromIreland StanFromIreland left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This doesn’t seem to work for sh, e.g. no button appears for these.

@hugovk

hugovk commented Feb 6, 2026

Copy link
Copy Markdown
Member Author

They're not sessions with prompts, but good idea, it's useful to have them copyable as well. Updated!

@StanFromIreland StanFromIreland left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@hugovk hugovk merged commit 5d1ce7b into python:main Feb 27, 2026
14 checks passed
@hugovk hugovk deleted the copybutton-shell branch February 27, 2026 08:47
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.

Implement copybutton for the shell session

2 participants

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