Post #1401352
2026-04-18 09:51 UTC
@muan Are you using a tab character? My guess is that the code is counting how many spaces to add to the next tab position based on the number of bytes rather than the actual horizontal position of the cursor before the tab character. That would have made sense in a world of single byte, fixed space characters but not today.
Replies (1)
-
@muan@mastodon.social 2026-04-18 09:52
@mikesax not using tabs :/