Setting home to Ctrl-Home might stop working after some shortcuts get pressed
Closed this issue ยท 9 comments
After adding an emoji (Ctrl-S
) or opening the contact list search (Ctrl-N
), my Ctrl-Home
(home=\33\133\61\73\65\110) bind to home (beginning of history) stops working, and it doesn't work anymore until I quit nchat and open it again. The character that appears when I hit Ctrl-Home
(after the issue starts) is: ๔
The same applies to end (end of history) associated to Ctrl-End
(end=\33\133\61\73\65\106), and the character that appears instead is: ๔
It applies to both Telegram and WhatsApp contacts.
No other shortcut has this issue.
Hi @fulalas - thanks for reporting. Could you please share a copy of your ~/.nchat/key.conf
? Either copy and paste the content in a comment here, or attach it as-is (might require making a copy of the file with a .txt
suffix for Github to accept it).
Sure!
Thanks @fulalas - I can reproduce the bug here too. I'm preparing a fix, hope to get it tested and push it this weekend.
Hi @fulalas - the above commit should fix the reported issue. Please let me know if you still encounter problems.
Yes, it works. Thanks a lot!
I have 2 questions though:
- is there a way to make
-DCMAKE_INSTALL_LIBDIR=lib64
work? On some distros we don't want 64-bit libs to go into/usr/lib
, but/usr/lib64
instead. I tried to use it on your project, but it seems it doesn't have any effect. - the nchat version I was using before was built on Arch, and magically
libwmchat.so
didn't depend on libgo, but now that I'm building on PorteuX (Slackware current based), it's depending on libgo, which is a big showstopper for me. Do you know how to workaround that?
OK, for the question 2 I found the answer: we need to compile using golang instead of gcc-go.
Hi @fulalas - for question 1 - I will look into preparing a fix for this, I can see that it's currently hardcoded to lib
.
Hi again - in 59afacd support for custom CMAKE_INSTALL_LIBDIR has been added. Please try it out and let me know if you encounter any issues (ideally by reporting a new bug). Thanks!
It's working perfectly! Thanks a lot!