소스 검색

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

Margers 1 년 전
부모
커밋
69e7ffadba
2개의 변경된 파일803개의 추가작업 그리고 89개의 파일을 삭제
  1. 801 89
      packages/rtl-console/src/unix/keyboard.pp
  2. 2 0
      packages/rtl-console/src/unix/video.pp

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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}

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.