Skip to content

No checks before Kitty keyboard protocol enabling? #2932

Description

@Oglo12

Environment Variables

Variable Value
LANG en_US.UTF-8
LC_CTYPE unset
TERM well... read the issue

notcurses-demo i

Was run in Kitty...

466 renders, 79.57ms (65.78µs min, 170.76µs avg, 880.84µs max)
466 rasters, 14.93ms (10.75µs min, 32.03µs avg, 145.04µs max)
466 writes, 74.51ms (19.98µs min, 159.90µs avg, 3.53ms max)
8.29MiB (93B min, 18.22KiB avg, 514.79KiB max) 1 input Ghpa: 3754
0 failed renders, 0 failed rasters, 0 refreshes, 0 input errors
RGB emits:elides: def 13:771 fg 160333:255677 bg 132390:359813
Cell emits:elides: 492203:2743323 (84.79%) 98.34% 61.46% 73.10%
Bmap emits:elides: 18:174 (90.62%) 2.44MiB (29.40%) SuM: 0 (0.00%)

Assuming you actually meant notcurses-info:

notcurses 3.0.17 on Kitty 0.47.1 (Linux 7.0.11-arch1-1)
31 rows (53px) 112 cols (24px) 1643x2688 rgb+256 colors
gcc-15.2.1 20251112 (LE)
terminfo 6.6.20251230 libdeflate 1.25 GPM 2.1.0
avformat 62.3.100 avutil 60.8.100 swscale 9.1.100 avcodec 62.11.100 avdevice 62.1.100
af+ ab+ sum- vpa+ hpa+ sgr0+ op+ fgop+ bgop+ bce+ rect-                         
bold+ ital+ struck+ ucurl+ uline+ u7+ ccc+ rgb+ el+                             
utf8+ 2x1+ 2x2+ 3x2+ 4x2- ⠃⠗⠇+ img+ vid+ indn+ gpm- kbd+                        
default fg 0xd3cec0 default bg 0x202020 pmouse+                                 
1st gen rgba pixel animation support                   🯁🯂🯃https://notcurses.com 
 ▘▝▀▖▌▞▛▗▚▐▜▄▙▟█⎧ 🬀🬁🬂🬃🬄🬅🬆🬇🬈🬊🬋🬌🬍🬎🬏🬐🬑🬒🬓▌🬔🬕🬖🬗🬘🬙🬚🬛🬜🬝⎫♠♥🯰🯱🯲🯳🯴🯵🯶🯷🯸🯹⅗⅘⅙⅚⅛⎧▕▏⎫┌╥─╥─╥┐🭩⎛⎞
╲╿╱ ◨◧ ◪◩ ◖◗ ⫷⫸ ⎩🬟🬠🬡🬢🬣🬤🬥🬦🬧▐🬨🬩🬪🬫🬬🬭🬮🬯🬰🬱🬲🬳🬴🬵🬶🬷🬸🬹🬺🬻█⎭♦♣¼½¾⅐⅑⅒⅓⅔⅕⅖⅜⅝⅞⅟↉⎪🮇▎⎪├╜╓╫╖╙┤🭫⎜⎟
╾╳╼ ◲◱ ◶◵ 🮣🮠 🮤🮥◜◝ ◿◺ 🮞🮟 ◢◣ ┌┐─ ┏┓━ ╭╮─ ╔╗═ 🭽🭾▁♟♜♞⩘▵△▹▷▿▽◃◁⭡⭣⭠⭢⭧⭩⭦⭨⎪🮈▍⎪├─╨╫╨─┤┇⎜⎟
╱╽╲ ◳◰ ◷◴ 🮡🮢 🮦🮧◟◞ ◹◸ 🮝🮜 ◥◤ └┘│ ┗┛┃ ╰╯│ ╚╝║ 🭼🭿🭵♝♛♚⩗▴⏶⯅▲▸⏵⯈▶▾⏷⯆▼◂⏴⯇◀⎪▐▌⎪╞═╤╬╤═╡┋⎜⎟
⎡⠀⠁⠈⠉⠂⠃⠊⠋⠐⠑⠘⠙⠒⠓⠚⠛⠄⠅⠌⠍⠆⠇⠎⠏⠔⠕⠜⠝⠖⠗⠞⠟⠠⠡⠨⠩⠢⠣⠪⠫⠰⠱⠸⠹⠲⠳⠺⠻⠤⠥⠬⠭⠦⠧⠮⠯⠴⠵⠼⠽⠶⠷⠾⠿⎤⎨🮉▋⎬╞╕╘╬╛╒╡┊⎜⎟
⎢⡀⡁⡈⡉⡂⡃⡊⡋⡐⡑⡘⡙⡒⡓⡚⡛⡄⡅⡌⡍⡆⡇⡎⡏⡔⡕⡜⡝⡖⡗⡞⡟⡠⡡⡨⡩⡢⡣⡪⡫⡰⡱⡸⡹⡲⡳⡺⡻⡤⡥⡬⡭⡦⡧⡮⡯⡴⡵⡼⡽⡶⡷⡾⡿⎥⎪🮊▊⎪└┴─╨─┴┘╏⎝⎠
⎢⢀⢁⢈⢉⢂⢃⢊⢋⢐⢑⢘⢙⢒⢓⢚⢛⢄⢅⢌⢍⢆⢇⢎⢏⢔⢕⢜⢝⢖⢗⢞⢟⢠⢡⢨⢩⢢⢣⢪⢫⢰⢱⢸⢹⢲⢳⢺⢻⢤⢥⢬⢭⢦⢧⢮⢯⢴⢵⢼⢽⢶⢷⢾⢿⎥⎪🮋▉⎪╭──╮⟬⟭╔╗≶≷
⎣⣀⣁⣈⣉⣂⣃⣊⣋⣐⣑⣘⣙⣒⣓⣚⣛⣄⣅⣌⣍⣆⣇⣎⣏⣔⣕⣜⣝⣖⣗⣞⣟⣠⣡⣨⣩⣢⣣⣪⣫⣰⣱⣸⣹⣲⣳⣺⣻⣤⣥⣬⣭⣦⣧⣮⣯⣴⣵⣼⣽⣶⣷⣾⣿⎦⎪██⎪│╭╮│╔═╝║⊆⊇
 ▔🭶🭷🭸🭹🭺🭻▁ 🭁🭌 🭂🭍 🭃🭎 🭄🭏 🭅🭐 🭆🭑 🭇🬼 🭈🬽 🭉🬾 🭊🬿 🭋🭀 ₀₁₂₃₄₅₆₇₈₉ ⎛ ▁▂▃▄▅▆▇█🭫⎞⎪🭨🭪⎪╰╯││║╔═╝⊴⊵
 ▏🭰🭱🭲🭳🭴🭵▕ 🭒🭝 🭓🭞 🭔🭟 🭕🭠 🭖🭡 🭧🭜 🭢🭗 🭣🭘 🭤🭙 🭥🭚 🭦🭛 ⁰¹²³⁴⁵⁶⁷⁸⁹ ⎝ ▔🮂🮃▀🮄🮅🮆█🭩⎠⎩🭪🭨⎭⧒⧑╰╯╚╝❨❩⟃⟄
👾🏴🤘🚬🌍🌎🌏🥆💣🗡🔫⚗️⚛️☢️☣️🌿🎱🏧💉💊🕴️📡🤻🦑🇦🇶👩‍🔬🪤🚱✊🏿🔬🧬🏴‍☠️🤽🏼‍♀️                                  
17 renders, 1.28ms (61.92µs min, 75.41µs avg, 156.48µs max)
17 rasters, 499.36µs (23.12µs min, 29.37µs avg, 41.27µs max)
17 writes, 1.40ms (14.44µs min, 82.34µs avg, 1.11ms max)
225.58KiB (88B min, 13.27KiB avg, 222.10KiB max) 0 inputs Ghpa: 0
0 failed renders, 0 failed rasters, 0 refreshes, 0 input errors
RGB emits:elides: def 2:1300 fg 1:2477 bg 920:256
Cell emits:elides: 2478:115498 (97.90%) 99.85% 99.96% 21.77%
Bmap emits:elides: 1:0 (0.00%) 201.85KiB (89.48%) SuM: 0 (0.00%)

Hi, it's me again from issue #2931. :)
I noticed that trying to run my text editor in a terminal emulator other than Kitty only lets me use some keys on my keyboard. My guess for this is something to do with the Kitty keyboard protocol (hence the question mark in the issue title).

I tested my text editor in Alacritty, the arrow keys didn't work. I then tried it in XFCE4 Terminal and NONE of the keys worked! Same result in UXTerm (Unicode XTerm) as in XFCE4 Terminal.

The only terminal emulators that worked properly were Kitty and Foot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions