Paper-spigot JAR (Enter Command Error) on Debian10

Hello, I have a problem with paper spigot, version 1.16.5

With the normal spigot jar, everything runs smoothly. Having tried paper, it also runs smoothly with java 16 on linux system, only I encountered a problem: entering the console of minecraft server, when I try to type a command and hit enter, the command does not send, but creates a letter, as if I write, the letter “M”, and then going forward it adds “oM” and continues to repeat itself if I hit enter.

How do I send the command through the console?

Thanks in advance.

I can’t help you, but concider posting this on the papermc github. Maybe sombody there will be smart enough to know what is goiong on because i don’t.