Closed dnkl closed 3 years ago
Closing as the problem has been "solved" in much the same way Alexander the Great "solved" the Gordian Knot: by simply cutting it out. DECSDM is no longer set (nor reset) by lsix
. While not a great solution in general, it is good enough as @j4james pointed out in #41. (Also, lsix
has no desire to be master of all Asia.)
Thanks! That's a much better solution, at least for the time being.
In https://github.com/hackerb9/lsix/issues/41, it was shown that enabling DECSDM, disables sixel scrolling. Something many terminals, including foot, has gotten wrong.
In 1.8.2 this was changed in foot, so that setting DECSDM now disables scrolling. Thus, lsix needs to emit \E[?80l, not \E[?80h.
Note: I guess we could start checking terminal version numbers, but thought that would just complicate the script unnecessarily. Also, I realize this is something that you may want to re-write in the future, if more terminals follow. So I opted for a small change, to make sure lsix works properly on latest foot.