Sublime Forum

ST4 on WSL2 (Ubuntu) keypad_divide works as page up

#1

Hi there,

I’m using ST4 on WSL2 (Ubuntu 18.04). After upgrading from ST3 I found this strange behavior: When pressing the divide key on the numpad (I usually start my C comments that way) it doesn’t print any character, but scrolls the text file up. It looks like I’ve pressed the PgUp key. “showkey” gives this output when pressing the numpad_divide key:

showkey -a

Press any keys - Ctrl-D will terminate this program
 
/ 	 47 0057 0x2f

Setting this key as noop in user keymap file doesn’t help. There is no other “keypad_divide” entry in the keymap files. The only other occurrence of key “/” should be related to xml / html only. Removing this setting doesn’t change anything. Starting ST4 without any former configuration gives the same behavior.

How this can be solved?

Thanks in advance,
Jörg

0 Likes

#2

What key and command get logged when you put sublime.log_commands(True); sublime.log_input(True) in the console?

0 Likes

#3

key evt: pageup
command: move {“by”: “pages”, “forward”: false}

0 Likes

#4
0 Likes

#5

Hello,

I’ve got the same issue for quite a long time now which is a bit annoying, is there any work around yet to this problem ?

Best regards,
Thomas

0 Likes