jerch

Results 525 comments of jerch

> I've just seen that some terminals support reporting mouse co-ordinates in pixel rather than terminal cell, so it might be possible to improve things here. This will be a...

Oh wow, didnt know that SGR-pixels is a thing in xterm. Thanks for the headsup.

> The only problem is I'm not sure there's any way to detect whether a terminal supports it You can try to detect the SGR-pixels mode state with DECRQM. This...

@joouha SGR-pixels is now in xterm.js master, will see about DECRQM.

> I would recommend against trying to do anything with the old locator protocol. It's been a bit since i looked at it, but it seemed like something best left...

DECRQM also landed in xterm.js. The next major version (v5.0) will contain both, mouse SGR-pixels reports and DECRQM. (image addon for v5 is in the making...)

> Is a sixel-cropping library something you're interested in writing? Will see what I can do about it. But I would code it in C most likely for speed reasons...

@joouha I have currently not much time to work on this, so if you have a working python lib for it - just use that for now. I'll get back...

@ismail-yilmaz Wow sounds promising - and ofc I am really curious about these improvements on asm level and whether they also apply to wasm to some degree or could be...

@ismail-yilmaz Minor note on what I've found worth looking into, but did not get down to it yet: - The sixel bit deconstruction with branching is actually much more expensive...