8000 show 4 spaces in place of tab in Terminal by FoamyGuy · Pull Request #10324 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

show 4 spaces in place of tab in Terminal #10324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from FoamyGuy:tabs_in_terminal
May 9, 2025

Conversation

FoamyGuy
Copy link
Collaborator
@FoamyGuy FoamyGuy commented May 8, 2025

Resolves: #10319

We could maybe use -> if we wanted to try to mimic the little arrows that some IDEs use to show tabs.

I have only done very basic testing with the REPL reproducer from the issue so far.

With this change:
image

without this change:
image

It still differs visually from my tio showing the serial console, in my local terminal at least. It seems mine is replacing tabs with 8 spaces perhaps. I don't necessarily think that difference is meaningful though.

Copy link
Member
@gamblor21 gamblor21 left a comment

Choose a reason for hiding this comment

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

Did not test but change looks good. Four spaces seems pretty standard for a tab in many places so I like the idea.

@tannewt tannewt merged commit 71ba3ad into adafruit:main May 9, 2025
540 checks passed
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.

Terminal does not show anything for tab
3 participants
0