Fix wrong C ansi code #622
Fix wrong C ansi code #622

fix wrong caluclation of cursor movement in print becasue of wrong
line line calculation, that didn't count for escaped entites.

jcubic/jquery.terminal,jcubic/jquery.terminal,jcubic/jquery.terminal,jcubic/jquery.terminal