forum.dlang.org, version 2 (BETA)

Vladimir Panteleev via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Jun 4 13:07:25 PDT 2015


On Thursday, 4 June 2015 at 19:55:28 UTC, sigod wrote:
> On Thursday, 4 June 2015 at 15:38:57 UTC, Vladimir Panteleev 
> wrote:
>> On Thursday, 4 June 2015 at 15:33:56 UTC, extrawurst wrote:
>>> On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev 
>>> wrote:
>>>> [...]
>>>
>>> Wow its insanely fast!
>>>
>>> i have some issues with the shortcuts. i have a german 
>>> keyboard and "?" is Shift+.. combo and i cant open the 
>>> shortcut help.
>>
>> Code in question: 
>> https://github.com/CyberShadow/DFeed/blob/next/web/static/js/dfeed.js#L645-L646
>>
>> Can you propose a patch?
>>
>
> Shift+? returns key code 191. And `String.fromCodePoint(191) 
> === '¿'`.

I looked into this.

191 is actually the code for the '/' key. This means that 
checking for it doesn't work on layouts where the question mark 
is typed by pressing another button. Does this work for you? I 
tried it on the Russian layout (where it's on Shift+7) and it 
doesn't.

I settled by moving the help key to Shift+H.


More information about the Digitalmars-d-announce mailing list