Browse Source

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

Margers 1 năm trước cách đây
mục cha
commit
69e7ffadba

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 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}

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác