Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@exoticorn
Copy link
Contributor

Using tabs in the ui breaks the ratatui diff and leads to rendering artifacts. This converts tabs to spaces with a fixed tab-width of 4. Ideally, the tab-width should be configurable, but until then 4 might be a reasonable compromise.

(I'm assuming that few people who indent with tabs are using a larger tab-width.)

fixes #49

Using tabs in the ui breaks the ratatui diff and leads to rendering artifacts.
This converts tabs to spaces with a fixed tab-width of 4. Ideally, the
tab-width should be configurable, but until then 4 might be a reasonable
compromise.
(I'm assuming that few people who indent with tabs are using a larger
tab-width.)
@Cretezy Cretezy merged commit edd227e into Cretezy:main Oct 7, 2024
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.

Diff is not completely redrawn

2 participants