Added c command

This commit is contained in:
2017-01-30 20:51:12 +08:00
parent 2fda27b7be
commit 0e84b4c260
3 changed files with 34 additions and 3 deletions
-1
View File
@@ -275,7 +275,6 @@
var ntabs = occurence( rline.substring( s + 1, e + 1 ), "\t" );
if( 1 < ntabs && rline[ e ] == "\t" ) ntabs --;
x += ntabs * tabStep + isLF;
x += Math.max( 0, Math.floor( d / line.cols ) - 1 );
// Reset the distance to 1 as x is now calculated
d = 1;