Archived
1
Fork 0

Tweak cursor movement around tab characters

This commit is contained in:
Hadeed 2023-09-11 16:12:07 +05:00
parent 257f90cff9
commit e40302e4de

View file

@ -77,6 +77,9 @@ int erow_rx_to_cx(struct erow *erow, int rx) {
c_rx += KILO_TAB_STOP - (c_rx % KILO_TAB_STOP);
else
c_rx++;
if (c_rx > rx)
break;
}
return cx;