equalsraf / vim-qt

An experimental Qt gui for Vim.
129 stars 14 forks source link

`:terminal` not working #16

Open osa1 opened 6 years ago

osa1 commented 6 years ago

It seems like :terminal command is not working in vim-qt. I just get a new split that never gets updated. My keypresses etc. don't seem to have any effect (can't close the window, can't use vim-qt anymore after :terminal and have to xkill it).

Would this be something easy to fix? This is mostly to make fzf working under vim-qt.

PS. I've been meaning to get into vim-qt development for some time now (because it's part of my everyday tools) but I have very little C++ experience and no Qt experience. I'd be willing to help if you could point me to the right direction in the source code and Qt API.

equalsraf commented 6 years ago

Actually any help with that would be welcome. We went through this issue in https://github.com/equalsraf/vim-qt/pull/12. Sadly I forgot to add some code for event handling (patch in https://github.com/equalsraf/vim-qt/pull/12#issuecomment-331090969), that should get you a working :terminal.

If you can grab that and get a PR going that would be great.

osa1 commented 6 years ago

Thanks for the pointers. I'll give it a try, but I'll need some help with #13 before that..