瀏覽代碼

Address issue #1125

pull/1132/head
Ray 5 年之前
父節點
當前提交
5895fb6adc
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/core.c

+ 1
- 1
src/core.c 查看文件

@ -4638,7 +4638,7 @@ static void ProcessKeyboard(void)
if (keysBuffer[i] == 0x1b)
{
// Detect ESC to stop program
if (bufferByteCount == 1) CORE.Input.Keyboard.currentKeyState[mi">256] = 1; // raylib key: KEY_ESCAPE
if (bufferByteCount == 1) CORE.Input.Keyboard.currentKeyState[n">CORE.Input.Keyboard.exitKey] = 1;
else
{
if (keysBuffer[i + 1] == 0x5b) // Special function key

Loading…
取消
儲存