Closed sourcefrog closed 7 years ago
The docs say that delete_line will
delete_line
Deletes the text from the cursor location to the end of the line.
According to https://books.google.com/books?id=GsUMLqtYI1UC&pg=PA115&lpg=PA115&dq=terminfo+dl&source=bl&ots=RpLCapUYS3&sig=4xJZMQuoegtf_9kaBSH-zSCf4_o&hl=en&sa=X&ved=0ahUKEwjaqPTZ-4HRAhVGs1QKHck5C4kQ6AEIMzAE#v=onepage&q=terminfo%20dl&f=false this sounds more like terminfo el than dl. That says that el is "erase to end of line" whereas dl "deletes lines in their entirity, with lines from below moving up to fill the gap"
el
dl
I'm not sure if it's related but dl, ie ESC [0M doesn't seem to actually erase the line in iTerm2 3.0.10.
ESC [0M
The docs say that
delete_line
willAccording to https://books.google.com/books?id=GsUMLqtYI1UC&pg=PA115&lpg=PA115&dq=terminfo+dl&source=bl&ots=RpLCapUYS3&sig=4xJZMQuoegtf_9kaBSH-zSCf4_o&hl=en&sa=X&ved=0ahUKEwjaqPTZ-4HRAhVGs1QKHck5C4kQ6AEIMzAE#v=onepage&q=terminfo%20dl&f=false this sounds more like terminfo
el
thandl
. That says thatel
is "erase to end of line" whereasdl
"deletes lines in their entirity, with lines from below moving up to fill the gap"I'm not sure if it's related but
dl
, ieESC [0M
doesn't seem to actually erase the line in iTerm2 3.0.10.