#4038·k9s

Misbehavior with PC keyboard connected to Mac running k9s

Author: tspearconquestCreated Jun 3, 2026Updated Sep 19, 2026



Describe the bug When my colleague connects a PC keyboard (Logitech) to any Mac laptop, we found that he has some trouble with using k9s; certain keys are not working, for example the enter key from the external keyboard doesn't work.

To Reproduce Steps to reproduce the behavior:

  1. Own an arm64 Mac
  2. Own a PC keyboard
  3. Connect PC keyboard to Mac
  4. Run k9s in terminal
  5. :ns
  • This works
  1. Scroll up or down with the arrow keys
  2. Press enter on PC keyboard
  3. Observe no action
  4. Press return on mac keybaord
  5. Observe selection picked.

Historical Documents When applicable please include any supporting artifacts: k9s debug logs, configurations, resource manifests, ...

Expected behavior Enter on PC keyboard connected to mac laptop should function the same as return on the built-in mac keyboard

Screenshots If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

  • OS: [e.g. OSX] OS X Tahoe 26.5
  • K9s: [e.g. 0.1.0] 0.50.18
  • K8s: [e.g. 1.11.0] 1.35

Additional context If we use the return key on the mac itself, it works fine, so we suspect the issue stems from the keyboard using different keycodes for return and enter respectively. It would be great if the mac build can support PC enter alongside Mac return keys.