lua/cursor.lua hangs when TERM=dumb
paride opened this issue · comments
Paride Legovini commented
Steps to reproduce:
$ TERM=dumb ./test.sh cursor.lua
vis v0.5 +curses +lua +tre +acl +selinux
cursor
[test hung]
Marc André Tanner commented
Can't seem to reproduce here. Can you investigate further i.e. what is it doing/where is it hanging?
Paride Legovini commented
With TERM=dumb
vis hangs immediately on my system: the problem doesn't depend on the test. Just running TERM=dumb vis
makes it hang, eating 100% of the cpu.
I'm attaching the exact dumb
terminfo file that gets read on my system, perhaps you could try to reproduce the issue by placing it in ~/.terminfo/d/dumb
. It's gzipped so GitHub accepts it.
If I set TERM to a random string, vis doesn't hang. The condition is triggered by the usage of the dumb
terminfo.
Paride Legovini commented
I can't reproduce this anymore.