Просмотр исходного кода

+ Keyboard unit overhaul
+ Shift+arrow keys now working in xterm
+ Keyboard restored when vt-switching away from application on Linux
console
+ Escape key remapped on Linux console so it works instantly.
+ Try to use Linux console more aggressively
+ Linux specific code now only executed on Linux terminals and not
on xterm, FreeBSD etc.

git-svn-id: trunk@2383 -

daniel 19 лет назад
Родитель
Сommit
56d3bf1403
2 измененных файлов с 296 добавлено и 457 удалено
  1. 2 1
      rtl/inc/keyscan.inc
  2. 294 456
      rtl/unix/keyboard.pp

+ 2 - 1
rtl/inc/keyscan.inc

@@ -1,7 +1,8 @@
 { list of all dos scancode for key giving 0 as char }
 Const
    kbNoKey       = $00;
-   kbAltEsc      = $01;
+   kbAltEsc      = $01;  {Alt+Esc = scancode 01, ascii code 0.}
+   kbEsc         = $01;  {Esc     = scancode 01, ascii code 27.}
    kbAltSpace    = $02;
    kbCtrlIns     = $04;
    kbShiftIns    = $05;

Разница между файлами не показана из-за своего большого размера
+ 294 - 456
rtl/unix/keyboard.pp


Некоторые файлы не были показаны из-за большого количества измененных файлов