mirror of
https://github.com/batrachianai/toad.git
synced 2026-04-25 20:15:49 +03:00
[GH-ISSUE #124] Diff rendering corrupted with tab indentation #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @willmcgugan on GitHub (Dec 22, 2025).
Original GitHub issue: https://github.com/batrachianai/toad/issues/124
Discussed in https://github.com/batrachianai/toad/discussions/123
Originally posted by ter0 December 22, 2025
For files with tab indentation, diff rendering on edit seems to get corrupted. I can reproduce it pretty easily just editing a python file with tab indentation. Asking the LLM to swap it back to space indentation seems to fix the diff view rendering. interestingly when I took screenshots with the built in SVG screenshot functionality, they looked correct.
The view when editing a file with tab indentation:

The view after swapping it back to space based indentation:

Output of
/about-toad:About Toad v0.5.5
© Will McGugan.
Toad is licensed under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE.
Config
config read from
/home/ter0/.config/toad/toad.jsonAdditional app data stored in
/home/ter0/.local/share/toadSystem
Dependencies
Environment
TERMCOLORTERMTERM_PROGRAMTERM_PROGRAM_VERSION@willmcgugan commented on GitHub (Dec 31, 2025):
Fixed in the latest version