Fix CPR behavior #129

wants to merge 1 commit into


None yet

2 participants

saitoha commented Jun 20, 2013

This patch fixes the following behavior.

  • CPR report should not respect origin mode
$ echo -e "\033c\033[?6h\033[5;10r\033[2;2H\033[6n" && cat

It should be "^[[6;2R"
I think it was influenced by's curious behavior.
I have already sent the bug report to Apple for this issue.

saitoha commented Jun 22, 2013

Today I received the response from Apple support.
He says it's correct, or rather xterm's behavior is incorrect.
The basis is this page:

The numbering of lines depends on the state of the Origin Mode

So I'll close this issue. Thanks.

@saitoha saitoha closed this Jun 22, 2013

Thanks for researching this and congrats on getting a response from Apple!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment