doublenibble
Unicode characters in buffers seem to be working quite well now. Unfortunately I still can't figure out a way to bind any non-ASCII input characters as keys. This works as expected:
| bind(context, ',', MDFR_CTRL, change_active_panel);
|
but this doesn't:
| bind(context, '§', MDFR_CTRL, change_active_panel);
|
Is there any way for me to bind this key? I tried changing my keys to some combinations that I can bind for 4coder, but I just can't get used to the new binds.
Thanks for bringing this to my attention. It's hard to think of all the things I need to support to make unicode really work, so I was specifically targeting getting it working in the buffers for this build, so it's good news that that is working. There are a few problems with the key binding situation. First I am not familiar with the rules in C about putting a utf8 encoded unicode character inside a character literal or string literal, so I need to go read up on all that. According to what you're saying it sounds like it doesn't want to work the easy way.
For now it should work if you look up the unicode value of the characters you're trying to use and put it in as a literal number... but that method obviously sucks so I will see what options are available to make this better.