[ Web Proxy ]
URL:
Viewing: https://atomgit.com/atomgit_atomcode/atomcode/issues/1618 [Back]  [Original]

TUI CSI-u vs code 1.140.0, atomcode 5.2-atomcode-AtomGit
TUI CSI-u vs code 1.140.0, atomcode 5.2 #1618
rdsz 10 7
rdsz
10

[27u Esc Kitty
ESC [ 27 u27 Esc u
[99;5u
Ctrl+C VS Code Kitty

Ctrl+Shift+C




[27u Esc ESC [ 27 u

[99;5u Ctrl+C ESC [ 99 ; 5
u

TERM_PROGRAM=vscode
VSCODE_INJECTION=1 AtomCode VS Code
1.140.0VS Code 1.109.5
Kitty
terminal.integrated.enableKittyKeyboardProtocol
true EscCtrl+C

CSI-u AtomCode TUI
Kitty
"Windows "
ESC
Esc/Ctrl+C

10 labelbug
10 duxin
rdsz
10

vs code 1.140.0, atomcode 5.2
--- atomcode --- Esc[ 27 u

5.2

1 duxin
1 saulcy
1 v5.2.2

CSI-u

AtomCode Windows VS Code Kitty Windows console input CSI-u

  • Esc ESC[27u [27u
  • Ctrl+C ESC[99;5u [99;5u
  • TUI

v5.2.1 release/v5.2.1

7605ed604 fix(tui): Windows / JediTerm Kitty

AtomCode Windows Kitty keyboard progressive enhancement Win32 console EscCtrl+C Enter [27u[99;5u Kitty shell

5.2 Esc/Ctrl+C

TheoCui [TheoCui]TheoCui
1 labelfixed

release/v5.2.1

issue VS Code 1.140 Esc [27uCtrl+C [99;5u 7605ed604 + 6a144cebd

TUI Kitty

  • ENTER KEYS_ON\x1b[>1u caps::wants_keyboard_protocol() surface 3
  • tuix should_enable_kitty_keyboard bug
    • Windows API CSI-u VS Code 1.109+ Esc ESC[27uCtrl+C ESC[99;5u issue
    • JediTerm CSI-u
  • ATOMCODE_KITTY /Windows ATOMCODE_KITTY=1 6a144cebd
  • LEAVE \x1b[<u Windows

the_keyboard_protocol_is_asked_for_only_where_it_can_be_read VS Code on Windows / / JediTerm / ATOMCODE_JEDITERM / ATOMCODE_KITTY=1 / Windows / KITTY=0
ansi leave_is_the_exact_inverse_of_enter ENTER [>1uLEAVE [<u shell
surface 3 KEYS_ON wants_keyboard_protocol()

  • atomcode-tui caps 22 ansi 23 surface 30 0
  • cargo fmt --all -- --check bash gates/compile.shworkspace

  • Windows + VS Code 1.140 macOS
  • Windows LEAVE

Windows

macOS ""Windows + VS Code 1.140 Windows

HEAD atomcode 5.2.2 (3c931cf17+dirty)

  1. 7605ed604 fix(tui): Windows / JediTerm Kitty VS Code Esc [27u
  2. 6a144cebd fix(tui): ATOMCODE_KITTY=1 Windows

  • ENTER \x1b[>1uansi.rs:58 ansi::KEYS_ON
  • caps::wants_keyboard_protocol()caps.rs:232Windows falseif windows { return false; } JediTerm ATOMCODE_KITTY Windows
  • surface.rs :1092:2327:2382
  • LEAVE \x1b[<u

Windows

Windowscfg!(windows)=true Windows

caps::tests 22 passed / 0 failed
ansi::tests 22 passed / 0 failed
surface::tests 26 passed / 0 failed
the_keyboard_protocol_is_asked_for_only_where_it_can_be_read ok
leave_is_the_exact_inverse_of_enter ok

Windows API atomcode_tui::caps::wants_keyboard_protocol()
crate

cfg!(windows) wants_keyboard_protocol()
true false
ATOMCODE_KITTY=1 true false
ATOMCODE_KITTY=true true false

Windows Kitty 6a144cebd Windows

  • KEYS_ON wants_keyboard_protocol() surface.rs:1092/2327/2382
  • ENTER [>1u !ENTER.contains("[>1u")ansi.rs:1194-1197

  • VS Code 1.140 Esc / Ctrl+C shell winpty wp != nullptr && cols > 0 && rows > 0 TUI " Esc [27u" VS Code 1.140
  • Windows Windows false+

Windows Kitty ConPTY ESC[27u / ESC[99;5u Esc /Ctrl+C Enter LEAVE \x1b[<u

7 issue
TheoCui [TheoCui]TheoCui

Label
bug
fixed
passed



PR
PR



Web Proxy Viewer  |  New URL  |  Original Page