benjaminor / kkp

Emacs support for the Kitty Keyboard Protocol
GNU General Public License v3.0
39 stars 6 forks source link

when open emacs , another window display some message . #2

Closed bommbo closed 1 year ago

bommbo commented 1 year ago

Screenshot from 2023-03-08 19-32-35

benjaminor commented 1 year ago

Hi, it would be great if you could provide more information about your setup:

Additionally you can run "C-h l" (view-lossage) after this window opens and provide the output of the buffer that opens. This way it's easier for me to debug and reproduce the issue.

bommbo commented 1 year ago

version

GNU Emacs 29.0.60 kitty 0.27.1

configuration

(add-to-list 'load-path "xx/kkp-20230301.2147/") (add-to-list 'load-path "xx/compat-29.1.3.4/") (require 'kkp) (global-kkp-mode 1)

c-h l

ESC [ ? 0 u ESC [ > 1 ; 4 0 0 0 ; 2 7 c ESC [ ? ;; describe-prefix-bindings 0 ;; self-insert-command u ;; self-insert-command ESC [ 1 0 4 ; 5 u l ;; view-lossage

benjaminor commented 1 year ago

Thanks for the info, I'll look into it!

benjaminor commented 1 year ago

I could reproduce it, at startup global-kkp-mode ran too early before tty initialization and interfered with xterm setup. Fixed by d587e3f8f2ee97cbcd76f8158aa13397d9d89d5f.

Thanks for reporting the issue! Feel free to open again if this fix does not work for you.

zhenhua-wang commented 4 months ago

Hi, I found that if I click any keys during emacs initialization, this page would still show up and kkp would fail to work...