TIC-80
TIC-80 copied to clipboard
the cursor miscalculates columns
- set tabs to be bigger than 1 space
- write some code
- enter an indented line
- jump up or down from it to a differetly indented line
- the cursor will be off by the difference in the amount of tabs
the functions lineUp and lineDown count the columns in characters and not visible units. looks like there's a need for a function that counts the visible amount of columns from a given line.
apologies for not suggesting concrete code
I think that I mixed this issue with this one: https://github.com/nesbox/TIC-80/issues/2330 You mean another thing right?