#707 AltGR fix in the Code Editor
This commit is contained in:
parent
e151bab3f1
commit
617dc01479
|
@ -891,7 +891,7 @@ static void processKeyboard(Code* code)
|
||||||
{
|
{
|
||||||
tic_mem* tic = code->tic;
|
tic_mem* tic = code->tic;
|
||||||
|
|
||||||
if(tic->ram.input.keyboard.data == 0) return;
|
if(tic->ram.input.keyboard.data == 0 || tic->ram.input.keyboard.text != 0) return;
|
||||||
|
|
||||||
switch(getClipboardEvent(0))
|
switch(getClipboardEvent(0))
|
||||||
{
|
{
|
||||||
|
@ -1044,7 +1044,6 @@ static void textEditTick(Code* code)
|
||||||
|
|
||||||
processKeyboard(code);
|
processKeyboard(code);
|
||||||
|
|
||||||
if(!tic->api.key(tic, tic_key_ctrl) && !tic->api.key(tic, tic_key_alt))
|
|
||||||
{
|
{
|
||||||
char sym = tic->ram.input.keyboard.text;
|
char sym = tic->ram.input.keyboard.text;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue