[Question] clear_num_pos
piyueh opened this issue · 1 comments
piyueh commented
Hi, thanks for open-sourcing this cool project.
I'm trying to read the source code but not familiar with control sequences. What does the clear_num_pos
under the Screen
class do?
Lines 38 to 40 in 70bdcbb
I couldn't find references to the control sequence X
. I thought it was like backspace. But on my machine, instead of deleting characters on the left, it deletes characters on the right of the cursor. So in order to delete characters, I have to first move the cursor to the left and then use \x1b[1X
to clear the characters on the right. Do I understand it right?
Thanks in advance!
piyueh commented
Alright, I found the reference here: https://www.xfree86.org/current/ctlseqs.html. Closing the issue.