Incorrect colors/Lack of arrow/home/end key support
Hello,
I have trouble having both colors and arrow/home/end keys work in vifm.vim.
With the default termwintype, I have:
- incorrect colors
- support for arrow keys
When trying to get the colors to work through this issue on vim/vim, someone suggested that I use set termwintype=conpty instead, which granted me:
- correct colors
- no more support for arrow/home/end keys
Since then I tried using :term with both termwintype values, and found out that arrow/home/end keys worked.
Since :term has support for arrow/home/end keys regardless of termwintype values, but :Vifm doesn't, I figured this was the appropriate place for my issue.
Here's a screenshot:

- on the left,
set termwintype=with ability to use <up>, <down>, <left>, <right>, <home> and <end> but incorrect colors - on the right,
set termwintype=conptywith correct colors but <up>, <down>, <left>, <right>, <home> and <end> don't seem to respond
I am using gvim v8.2.1127 on Windows10.
Is there a way for me to have both correct colors, and arrow/home/end keys work ?
Hi,
If I set termwintype=conpty on Windows10 on Vim from here, I get "ConPTY isn't supported" message and can't test this.
I think embedding shouldn't matter for terminal applications. If vifm works outside Vim and doesn't inside ConPTY, my guess would be that something is wrong with the embedding (maybe with ConPTY itself). Or maybe PDCurses needs to be taught to work with ConPTY (if you find another application that uses PDCurses, you could test how it handles input).
Vifm does configure terminal a bit, but not sure if that matters for embedding.