
Describe the bug
When using at least one capital in the resource type name, "Enter" will bring you to the resources from that resource type but the namespace is changed to the resource type name.
To Reproduce
Steps to reproduce the behavior:
- Start k9s
- Goto an overview of the nodes (:nodes), not really necessary but this makes us start on the same page.
- Now enter: ":Deploy" and ENTER
- You have switched to deployments in the 'deploy' namespace (which you probably don't have)
These also work in step 3:
- Stateful
- daeMONset
- pVc
- almost any resource that contains at least one capital
- you can use tab completion with this too
Expected behavior
When doing a ":Deploy" or ":pVc" the command should fail or maybe better: set all to lowercase and show the requested resource types.
Screenshots

Versions (please complete the following information):
- OS: macOS 15.7.1
- K9s: v0.50.15
- K8s: v1.33.5-eks-113cf36
Describe the bug
When using at least one capital in the resource type name, "Enter" will bring you to the resources from that resource type but the namespace is changed to the resource type name.
To Reproduce
Steps to reproduce the behavior:
These also work in step 3:
Expected behavior
When doing a ":Deploy" or ":pVc" the command should fail or maybe better: set all to lowercase and show the requested resource types.
Screenshots

Versions (please complete the following information):