notcurses icon indicating copy to clipboard operation
notcurses copied to clipboard

`:` not registered on press with shift on Kitty

Open CyanideForBreakfast opened this issue 2 years ago • 5 comments

Terminal: Kitty

declare -x COLORTERM="truecolor"
declare -x LANG="en_US.UTF-8"
declare -x TERM="xterm-kitty"
declare -x TERMINFO="/usr/lib/kitty/terminfo"

It can be tested on notcurses-input, pressing ; key with Shift should register :, but it doesn't on Kitty. However, I've tested with Xterm & Alacritty and for them it works fine (: is registered).

Please confirm this bug. (PS: Sorry I wasn't able to get the version name for notcurses from notcurses-demo i, but I'm on libnotcurses_sys - 3.3.0 if that helps.)

CyanideForBreakfast avatar Apr 12 '22 05:04 CyanideForBreakfast

i'll look into this shortly, thanks for the report!

(sorry for the lengthy delay; i was without my workstation for several weeks)

dankamongmen avatar May 05 '22 06:05 dankamongmen

No problem, saw your post on Schwarzgerät III :)

CyanideForBreakfast avatar May 05 '22 06:05 CyanideForBreakfast

This may be related to kitty not showing Ñ either via notcurses input (that's the uppercase version of ñ, which all spanish keyboards have a key for), but it works in the other teminals.

joseluis avatar May 05 '22 08:05 joseluis

A similar issue seems to be happening in foot. On my UK keyboard, Shift-,, for example, should be < but gets emitted as ..

Relevant notcurses-input output:

  sacuhmx.P Special: [0x110423 (1115171)] 'left shift'                                                                                                                                                                                                                                        
  Sacuhmx.P ASCII: [0x2c (044)] ','                                                                                                                                                                                                                                                           
  Sacuhmx.L ASCII: [0x2c (044)] ','                                                                                                                                                                                                                                                           
  Sacuhmx.L Special: [0x110423 (1115171)] 'left shift'

endofunky avatar Dec 13 '23 20:12 endofunky

Actually, nevermind, this appears to be fixed for foot on master now as well with the new effective text fields - just to hold out for a new release and updated Rust wrappers.

  sacuhmx.P Special: [0x110423 (1115171)] 'left shift'                                                                                                                                                                                                                                        
  Sacuhmx.P ASCII: [0x2c (044)] ',' effective text '<'                                                                                                                                                                                                                                        
  Sacuhmx.L ASCII: [0x2c (044)] ','                                                                                                                                                                                                                                                           
  Sacuhmx.L Special: [0x110423 (1115171)] 'left shift'

endofunky avatar Dec 13 '23 20:12 endofunky