# Run\_terminal\_cmd tool adds incorrect bracketed paste markers #2728

**URL:** <https://forum.cursor.com/t/run-terminal-cmd-tool-adds-incorrect-bracketed-paste-markers-2728/52558>\
**Category:** Bug Reports\
**Created:** [February 20, 2025, 9:12pm UTC](https://forum.cursor.com/t/run-terminal-cmd-tool-adds-incorrect-bracketed-paste-markers-2728/52558 "2025-02-20T21:12:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandoncollins7](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/brandoncollins7/32/26744_2.png) [@brandoncollins7](https://forum.cursor.com/u/brandoncollins7)\
**Post date:** [February 20, 2025, 9:12pm UTC](https://forum.cursor.com/t/run-terminal-cmd-tool-adds-incorrect-bracketed-paste-markers-2728/52558/1 "2025-02-20T21:12:12Z")

</div>

Description:  
When the AI assistant uses the run\_terminal\_cmd tool to execute commands, it’s incorrectly adding bracketed paste mode markers to the commands.

Example output:  
$ [200 ~~gh auth status~~  
bash: [200~gh: command not found

These [200~ and ~ markers should not be added to the commands as they prevent proper command execution.

Environment:

- OS: Windows 10
- Shell: Git Bash (C:\Program Files\Git\bin\bash.exe)
- Cursor Version: 0.45.11

---

<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:** [March 22, 2025, 9:12pm UTC](https://forum.cursor.com/t/run-terminal-cmd-tool-adds-incorrect-bracketed-paste-markers-2728/52558/2 "2025-03-22T21:12:23Z")

</div>

Closed on March 22, 2025, 9:12pm UTC

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