-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot move only x or y coordinate in Screen session #55
Comments
I agree. I think this is only a problem for 'screen', so far as I can tell. They can be fixed by assigning an anonymous function for this case.
|
this is fixed as you recommend, "internally workaround this problem transparently", in a fork if you wish to need it, https://pypi.python.org/pypi/blessed |
Much appreciated, I'll check it out. Any plans to contribute any of your patches back here? I don't see any pull requests for fixes like this. Have they been explicitly declined by the Blessings maintainer? |
I definitely tried to contribute all of my fixes and enhancements, beginning last year. The pull requests were mostly ignored/stalled -- Look in "closed" pull requests in this project and you can see them. He's more than welcome to have them all back in his own project, but I'm very sure he won't take the time to do so. |
I'm happy to take a patch to this effect. I certainly had a hand in stalling out those old PRs, but the sheer size of them (rather than being small, atomic changes) was also a factor. I would like to get a lot of that stuff upstreamed. |
I'm afraid I can't do that. For example, this change cannot be tested without @as_subprocess -- as your first test case that tests xterm-256color causes all subsequent tests to be tested as xterm-256color. |
This issue is resolved in 'blessed-integration' branch by a method of "proxying" terminal capabilities. https://github.com/erikrose/blessings/blob/blessed-integration/blessings/formatters.py#L144-148 |
This issue is resolved in
|
This affects
move_x
,move_y
, and thelocation
context manager (when only one of x or y is specified). The cause appears to be Screen's terminfo, which does not seem to define entries for "hpa" or "vpa". To test, I did the following:Note that changing the environment variable TERM to
xterm
fixes the issue.It would be helpful if Blessings were able to internally workaround this problem transparently. As it stands, I cannot use these functions at all if I want my program to work under either Screen or Tmux (which uses Screen's terminfo).
The text was updated successfully, but these errors were encountered: