magiblot/turbo

Bug report

kotoOo opened this issue · 2 comments

Sorry for not providing all the details, I'm kind of in a hurry, but bad news are: mouse sequences are somehow leaking into edited files.
Platform: Ubuntu 18.04 on WSL / Windows 10 / standard TTY. It has turned out suddenly, as a week or so I was happily editing -and- actually using mouse to switch between windows, arrange windows and access menus.

I might suspect that the bug might be somewhere around seleting text with mouse.

Hi Koto!

Yes, I have too experienced this in the past, and I am pretty sure this is a Windows issue.

Have you compiled Turbo manually? If so, edit the file deps/tvision/include/tvision/internal/ncursinp.h and change the readTimeout variable (line 24) from 5 to 10. Then recompile Turbo and try again. If you still experience the issue, try with larger values (20, 50...).

If you find a value which works, let me know.

I had to raise readTimeout to 10 milliseconds for other reasons (magiblot/tvision@3658c2a), so I'll assume that this was fixed too. But please let me know if you run across this issue again.