Windows terminal: arrow keys are not sent.

This is not specifically a problem of Coder but probably best to ask and document it here. On windows terminal, I can ssh into my Coder instance and all keys except arrow keys are correctly sent into Coder. Arrow keys do work in the regular windows terminal on powershell. I do not see a keybinding that intercepts the arrow keys. Any suggestions?
Solution:
please update, your version is old (March 23, 2023). this behavior was fixed in April of this year...
Jump to solution
15 Replies
Codercord
Codercord4mo ago
<#1284155944091123813>
Category
Help needed
Product
Coder OSS (v2)
Platform
Windows
Logs
Please post any relevant logs/error messages.
Phorcys
Phorcys4mo ago
are you connecting via coder ssh or another way? also, what OS is the Coder workspace running?
राहुल
राहुलOP4mo ago
coder ssh and ubi9
Phorcys
Phorcys4mo ago
could you send the output of coder version on the client machine? and what is the version of Coder on the server? (@राहुल)
राहुल
राहुलOP4mo ago
coder version is v0.20.1+ed9a3b9
Solution
Phorcys
Phorcys4mo ago
please update, your version is old (March 23, 2023). this behavior was fixed in April of this year
राहुल
राहुलOP4mo ago
My colleagues have the same version on client and server. Arrow keys work for them Or do you mean I should upgrade my client? iirc the latest version of client was incompatible with server version
Phorcys
Phorcys4mo ago
you usually want to upgrade both of these at the same time, but since it's a big version jump I would recommend that you take backups before updating the server the product is designed to be able to do big version jumps but you never know :-)
राहुल
राहुलOP4mo ago
That is why we haven't upgrades yet. We tried and reverted because we were not ready for it.
Phorcys
Phorcys4mo ago
only the client should need to be updated but given the 1 year difference between the version you're running on the server and the version in which it was fixed it will most likely not work without updating the server
राहुल
राहुलOP4mo ago
Ok thank you for the help!
Phorcys
Phorcys4mo ago
let us know if you need any help updating!
Atif
Atif4mo ago
@राहुल have updating Coder fixed the issue?
राहुल
राहुलOP4mo ago
Haven't gotten around to upgrading yet. However, I did find a strange workaround. C-p works as up arrow, C-b and C-f as left and right arrow.
Phorcys
Phorcys3mo ago
i think this makes sense since when the arrow keys are not handled correctly they show C-<something> in the terminal

Did you find this page helpful?