http://bugs.winehq.org/show_bug.cgi?id=59044
Eric Pouech eric.pouech@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #4 from Eric Pouech eric.pouech@gmail.com --- thanks
this looks like (didn't check the exact values from log though) a discrepancy on how lines are folded: - native when having lines longer than window width fold the line (in presentation) on several display lines, but keep the y-position at a single value (ie you have y-position in screen buffer which gives you the buffer line, and y-position at display, which can use more than 1 lines). - Wine OTOH has a fix mapping and fold the long line (hence having full equivalence of y-position in screen buffer vs y-position at display) this can be seen by extending the console width: native refolds the lines according to screen width, while Wine keeps the original screen size
fixing that (and assuming it's the only cause) will require to move line folding from write time to display time, and implement the reverse operation (y on display => screen buffer line) not utterly complicated (except for unix consoles, where we don't have the resize events)
to be looked at after code freeze (with also the support of esc sequences in conhost)