Left and right arrow keys don't move the caret when typing a prompt in the Agents Window

Describe the Bug

I can’t move the cursor left and right using the arrow keys.

Works fine in the Cursor IDE view. Navigating by word with option+left/right also works.

Steps to Reproduce

  1. Type a prompt in the text area
  2. Try to move the caret left and right with the arrow keys

Expected Behavior

The caret moves left/right

Actual: nothing happens

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 3.10.20
VS Code Extension API: 1.125.0
Commit: 23b9fb205fe595ea2be29da7214e19762d037fc0
Date: 2026-07-07T07:03:33.071Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 25.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the detailed report with the video and version. This is a known bug in the Agents Window in Glass. The Left and Right arrow keys sometimes stop moving the cursor in the input field, while everything works fine in the regular IDE editor. We’re already tracking the issue, but I can’t share an exact ETA for a fix yet.

As a temporary workaround, try Reload Window with Cmd+Shift+R or restart Cursor. Arrow key navigation should work again. This bug is intermittent, so it might come back later. If it does, just reload again.

I’ll post an update in the thread once there’s news on the fix.

So I actually experience this consistently, and Cmd+Shift+R doesn’t fix the issue

I’m not sure if it’s the same issue, but I can’t use the right arrow to tab complete in the terminal either

Thanks for the update and the video. The fact that Reload Window no longer helps and the bug is now persistent is an important signal. I shared this on the issue we’re tracking.

A couple questions to narrow it down:

  1. Does a full quit and relaunch of Cursor help? I mean quitting the app completely, not just Reload Window. Even temporarily?
  2. If you switch to the classic layout, the regular IDE view and not the Agent Window, do the arrow keys work in the chat input there?

The issue with right arrow and tab-complete in the terminal is probably related.

I don’t have a fix ETA yet, but as soon as I have an update, I’ll reply in the thread.

Hi, I think this has something to do with SSHing into another server. I was able to reproduce with this sequence of events:

  1. I’m only connected to a single devbox - arrow keys work fine
  2. I SSH into a different devbox - arrow keys stop working
  3. I reload with Cmd+Shift+R
    1. There is a brief window where arrow keys work
    2. But the arrow keys stop working afterwards

It works fine in the IDE UI. And when it’s stuck in that state, a full quit and restart still doesn’t fix the issue.

After I did “Remove from Sidebar” on the workspace in the other devbox and restarted cursor, the issue stopped happening

Version: 3.12.17
VS Code Extension API: 1.128.0
Commit: 0fb762053c34788bb7760d5673f8a6d4c8589d50
Date: 2026-07-17T02:53:53.006Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 25.5.0

This is a really helpful clue, thanks. The fact that the bug is tied to SSH into the second devbox, and that using “Remove from Sidebar” on the remote workspace plus restarting makes it go away, is a good diagnostic signal. I added this to the issue we’re tracking, along with your version and steps.

About the right arrow and tab-complete in the terminal, it looks like it might be in the same class of problems, so I noted that too.

Came here to report the same issue but I doubt it has anything to do with SSHing. I’ve been seeing this issue even before I SSHed into a devbox. I was working on client repos at that time.

In the beginning, I noticed that Reload fixes this issue but a few days back I noticed that Reload does not fix the issue anymore. Today, I did a reload and it did fix the issue again. It’s pretty inconsistent.

Anyways, its very annoying and I hope you can find and fix this soon.

Hey, thanks for confirming. Also, the fact that you saw the bug even before SSH, on client repos, is a useful detail. It looks like this issue is broader than just the devbox connection scenario. I added your note to the issue we’re tracking.

To help pin this down, could you share:

  1. Your Cursor version and OS (Cursor Settings, or Cmd+Shift+P > About)
  2. Your layout, Agent Window or classic?

Since the bug is intermittent, the only workaround for now is Reload Window Cmd+Shift+R, but based on reports it doesn’t always help. I can’t give an ETA for a fix yet, but I’ll post an update in the thread as soon as I have one.

Ok nevermind, it’s not because of adding a new devbox. I tried adding a new workspace that was on the same devbox, and now my left/right arrow navigation is bricked once again, even after restarting :frowning: .

Thanks for digging into this, it’s an important detail. The fact that the bug now happens when you add a new workspace even on the same devbox, and a full restart doesn’t fix it, rules out my earlier guess about SSH and the second box. It looks like the trigger is having multiple workspaces in the sidebar, not the remote connection itself. I added this to the issue we’re tracking, along with version 3.12.17.

Earlier, using Remove from Sidebar on the extra workspace plus a restart worked for you. If navigation is stuck again, try the same workaround one more time. For now, it’s the most reliable way to get the arrow keys working again. Reload Window, like you noticed, only helps sometimes.

I can’t share an ETA for the fix yet, but I’ll post an update in the thread as soon as I have one.

Hello, is there any word on the ETA for this fix? i’ve just made the switch to cursor and i’m seeing the issue with left and right arrows not working straight away in the prompts, option + arrows seems to work fine though. I’ve tried reloading and also clearing the cache, sometimes that works but it regresses straight away. I’m running 3.16.17 on mac Tahoe 26.5.2

Hey, thanks for reaching out. Yeah, this is a known issue with the Left and Right arrow keys in the prompt input in the Agents Window Glass, and we’re tracking it. I can’t share an exact ETA for a fix yet.

Workarounds: Reload Window with Cmd+Shift+R doesn’t always help, like you noticed. A more reliable option from reports in this thread is, if you have multiple workspaces in the sidebar, remove the extra workspace using Remove from Sidebar and then fully restart Cursor, not just Reload. This has fixed it more consistently for users than Reload.

To help narrow down the trigger, can you confirm: do you have multiple workspaces open in the sidebar, or any active SSH connections, when the arrow keys stop working? It looks like the issue is tied to having multiple workspaces, not something specific in your setup.

I’ll post in the thread as soon as there’s an update on the fix.

I do have multiple workspaces open as i’m working on several repos at once, do i really need to close all but one? Refresh and full restart of cursor are the same, neither work.

Hey Adam. No, you don’t have to close every workspace except one. That’s not a requirement, it’s just an attempt to work around the issue. Based on reports in this thread, the problem does show up more often when there are multiple workspaces in the sidebar, but the link isn’t 100% confirmed yet. And like you noticed, neither Reload Window Cmd+Shift+R nor a full restart always helps.

This is a known issue with the Left and Right arrow keys in the prompt input in the Agents Window layout Glass, and we’re tracking it. I can’t share an exact ETA for a fix yet.

The most reliable workaround we know so far, even though it doesn’t work every time, is: if you have multiple workspaces in the sidebar, use Remove from Sidebar for the extra ones, then fully restart Cursor with a real quit, not Reload. For some users this lasts longer than a normal Reload. But to be honest, for some users even this stops working, so I can’t guarantee it.

Your details are helpful. I passed to the team that it’s reproducible on 3.16.17 and on macOS Tahoe 26.5.2, and that restart doesn’t help. I’ll reply in the thread as soon as there’s an update on the fix.

One quick question to confirm: what layout are you using, Agent Window or classic? And do you have any active SSH connections when the arrow keys stop working? That’ll help us narrow down the trigger.

Hi Dean, i’m sorry i dont know which layout i’m using? I dont know how to change it i have a sidebar and a prompt window, i dont see anything in the settings about changing a layout!? No active ssh connections via cursor but in the terminal i have an ssh connection to my gitlab account but other users on my team aren’t experiencing this issue with similar setups. Only other thing i think it could possibly be is i recently got a laptop upgrade if its potentially a hardware issue?

@Adam_Sutcliffe About the layout, if you have the sidebar on the left and the prompt window on the right, that’s the Agents Window layout Glass. You can confirm it via Cmd+Shift+P then About, and in the version block you’ll see Layout: Agent Window. You don’t need to switch it anywhere in settings, it matches the issue we’re tracking.

On hardware, no worries, this isn’t a hardware issue or anything specific to your setup. It’s a known issue with the Left and Right arrow keys in the prompt input in Agents Window Glass, and we’re tracking it. The fact that some coworkers with a similar setup don’t see it is expected since it’s intermittent and doesn’t happen for everyone or all the time.

SSH to GitLab in the terminal is unlikely to trigger it. We mean SSH connections to a workspace or devbox inside Cursor itself, not terminal sessions. Based on reports in this thread, it shows up more often when multiple workspaces are open in the sidebar, but we can’t confirm that link 100% yet.

Ok, cmd+shift+P then about doesn’t mention anything about layout. But if i look inside the Copy version info it does mention the layout as Layout: Agent Window One other thing i just noticed was the caret doesn’t move when i try and rename an agent session in the side bar. Don’t know if thats helpful info?

Thanks for confirming the layout. Yep, Layout: Agent Window in version info is the exact environment where we’re tracking this issue. And terminal SSH to GitLab isn’t related here, so we can rule that out.

Your note about renaming the agent session in the sidebar is helpful. The fact that the caret doesn’t move there either, not just in the prompt input, is a good signal. It looks like the issue is broader than just the prompt field. I shared this with the team along with your details 3.16.17, macOS Tahoe 26.5.2, restart doesn’t help.

No status change yet. This is a known issue with Left and Right arrow keys in Agents Window Glass, and I can’t share an exact ETA right now. The most reliable workaround we know is if you have multiple workspaces in the sidebar, remove the extra ones via Remove from Sidebar, then fully restart Cursor. Make sure you quit the app, not Reload.

I’ll reply in the thread as soon as there’s an update on the fix.

Hey @davelu,

A fix for the Left and Right arrow keys not moving the caret in the Agents Window prompt is coming in an upcoming Cursor 3.19 update. The same change should also cover the caret not moving when renaming an agent in the sidebar, and Right arrow completion in the terminal.

Thanks to everyone for the details in this thread, they helped narrow this down.

cc @Srujan_Barai @Adam_Sutcliffe