# Cursor TTY Frozen after generating question box

**URL:** <https://forum.cursor.com/t/cursor-tty-frozen-after-generating-question-box/161347>\
**Category:** Bug Reports\
**Tags:** auto-run, crashes, linux, cli\
**Created:** [May 22, 2026, 6:24pm UTC](https://forum.cursor.com/t/cursor-tty-frozen-after-generating-question-box/161347 "2026-05-22T18:24:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![386d0f89398b](https://avatars.discourse-cdn.com/v4/letter/3/eb9ed0/32.png) [@386d0f89398b](https://forum.cursor.com/u/386d0f89398b)\
**Post date:** [May 22, 2026, 6:24pm UTC](https://forum.cursor.com/t/cursor-tty-frozen-after-generating-question-box/161347/1 "2026-05-22T18:24:13Z")

</div>

### Where does the bug appear (feature/product)?

Cursor CLI

### Describe the Bug

Interactive `cursor-agent` in Konsole shows an approval/question box, then the TTY appears frozen: no visible keyboard input, Ctrl+C has no effect. Ctrl+Z  
suspends the job; after `fg`, the UI is still unresponsive. `kill -INT <pid>` from another shell is required to recover.

### Steps to Reproduce

1. Run `cursor-agent` interactively in Konsole.
2. Trigger a tool/action that requires approval (question box UI).
3. Try to answer with keyboard — no visible response.
4. Press Ctrl+C — process does not exit.
5. Press Ctrl+Z — job stops, bash prompt returns.
6. Run `fg` — agent redraws but keyboard still unresponsive.
7. From another terminal: `kill -INT <cursor-agent-pid>` then in original tab `stty sane && reset`.

### Expected Behavior

- Approval prompt accepts Enter/arrows/y/n.
- Ctrl+C cancels prompt or exits agent.
- After SIGTSTP/SIGCONT, TTY and stdin work again.

### Screenshots / Screen Recordings

 ![Screenshot_20260522_141708.png](https://us1.discourse-cdn.com/cursor1/original/3X/a/4/a469239f23956cf0794a275abf9721f7ee54201a.png)

### Operating System

Linux

### Version Information

About Cursor CLI

CLI Version 2026.05.05-84a231c  
Model Auto  
Subscription Tier Enterprise  
OS linux (x64)  
Terminal konsole  
Shell bash

### Additional Information

### Environment

- CLI: `cursor-agent about` → 2026.05.05-84a231c
- OS: Linux (Fedora 43), Konsole, bash
- Config: `approvalMode: "allowlist"` (approval prompts expected)

### Runtime evidence (while stuck)

```bash
stty -a -F /dev/pts/N # N = agent tty
# shows: -isig -icanon -echo
ps -o pid,stat,tty -p <pid>
# e.g. Rl+ or Sl+ on pts/N, cursor-agent foreground (TPGID = agent pid)

```

Ctrl+C sends byte 0x03 to the app, not SIGINT, because `isig` is off. Workaround: `kill -INT %1` while job is stopped, or `cursor-agent --force` /  
`"approvalMode": "unrestricted"` to avoid the prompt.

### Possible cause

Ink/Node TUI raw-mode terminal setup does not restore sane TTY on suspend/resume; approval UI may stop reading stdin after SIGCONT while still holding the  
PTY with `-isig`.

Attach cursor-agent about output and, if possible, a screenshot of the question box.

$ pgrep -af cursor-agent  
20121 /home/user/.local/bin/cursor-agent --use-system-ca /home/user/.local/share/cursor-agent/versions/2026.05.05-84a231c/index.js

$ stty -a -F /dev/pts/1  
speed 38400 baud; rows 71; columns 156; line = 0;  
intr = ^C; quit = ^; erase = ^?; kill = ^U; eof = ^D; eol = ; eol2 = ; swtch = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;  
werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;  
-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts  
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel iutf8  
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0  
-isig -icanon -iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [May 23, 2026, 10:34am UTC](https://forum.cursor.com/t/cursor-tty-frozen-after-generating-question-box/161347/5 "2026-05-23T10:34:35Z")

</div>

Thanks for the report!

> [@386d0f89398b](#):
>
> CLI Version 2026.05.05-84a231c

Could you check if this still reproduces on v2026.05.20-2b5dd59 (the latest stable version)?

---

<div class="post-metadata">

**Author:** ![386d0f89398b](https://avatars.discourse-cdn.com/v4/letter/3/eb9ed0/32.png) [@386d0f89398b](https://forum.cursor.com/u/386d0f89398b)\
**Post date:** [May 28, 2026, 7:43pm UTC](https://forum.cursor.com/t/cursor-tty-frozen-after-generating-question-box/161347/7 "2026-05-28T19:43:11Z")

</div>

I’ve updated to v2026.05.24-dda726e. I’m now unable to repro this bug.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [July 3, 2026, 11:27am UTC](https://forum.cursor.com/t/cursor-tty-frozen-after-generating-question-box/161347/9 "2026-07-03T11:27:33Z")

</div>

Closed on July 3, 2026, 11:27am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
