ソースを参照

Implementation of Kitty keys and xterm - ModifyOtherKeys (Unix keyboard)

Margers 1 年間 前
コミット
69e7ffadba

ファイルの差分が大きいため隠しています
+ 801 - 89
packages/rtl-console/src/unix/keyboard.pp


+ 2 - 0
packages/rtl-console/src/unix/video.pp

@@ -1159,6 +1159,7 @@ begin
      videoInitDone;
 
      decide_codepages;
+     SendEscapeSeq(#27'[>31u');{Entering alternativ screen we have to set up kitty keys}
    end
   else
    ErrorCode:=errVioInit; { not a TTY }
@@ -1169,6 +1170,7 @@ procedure SysDoneVideo;
 var font_custom:array[0..2] of AnsiChar=#27'(K';
 
 begin
+  SendEscapeSeq(#27'[<u'); { kitty keys disable }
   prepareDoneVideo;
   SetCursorType(crUnderLine);
 {$ifdef linux}

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません