prompt-toolkit / pyvim

Pure Python Vim clone.
BSD 3-Clause "New" or "Revised" License
2.52k stars 161 forks source link

Potential Bug: Green text becoming invisible #45

Open ghost opened 9 years ago

ghost commented 9 years ago

I wrote a simple python Hello World program. Then out of curiosity I just added about 200 empty lines after it. And then deleted them. To my surprise now every time I try to write the print statement (that should appear in green color) the print keyword becomes invisible. Even after restarting PyVim and my system, it does not revert to the original.

Note: In the screenshot given below, the first line has been highlighted in visual mode and the second line has the cursor on the letter 'p'.

screenshot from 2015-05-01 20 20 57

This may be a minor color bug or it may be a specific case of a more general issue. Will try to research on its effects.

PS: I am a student and a novice to OSS. Kindly please tell me if I do something wrong to help me learn. :)

jonathanslenders commented 9 years ago

Thanks for reporting the bug @ja5h . I appreciate it. This looks indeed like a bug, but I'm not able to reproduce it...

A few questions:

Thanks a lot! Jonathan

ghost commented 9 years ago

To answer your questions in order:

_Also some more findings:_ I tried using XTerm and there was no issue. Unfortunately, after another restart, the bug got fixed by itself and I was unable to reproduce it.

lunemec commented 9 years ago

I am also unable to reproduce this bug.