ymattw / ydiff

View colored, incremental diff in workspace or from stdin, side by side and auto paged.
Other
877 stars 62 forks source link

Fix tab expansion #95

Closed lapo-luchini closed 4 years ago

lapo-luchini commented 4 years ago

Expand tab characters to the next stop modulo tab width, instead of using always tab width. Closes #94.

lapo-luchini commented 4 years ago

Oh, I only later discovered the method str.expandtabs(tabsize=8)… but I guess that wouldn't work anyways, because of the \x00.s and \x01s.

ymattw commented 4 years ago

Thank you. I will take a closer look as soon as possible. Truly sorry for not able to respond earlier.

ymattw commented 4 years ago

Thanks a lot for the fix!