Skip to content

Terminal UI shows Unix $ prompt prefix on all platforms #11428

@shanevcantwell

Description

@shanevcantwell

Description

The terminal command display in the GUI hardcodes a $ prefix before every command. This is a Unix shell convention that has no meaning for Windows users (PowerShell uses PS>, cmd uses >).

The $ prefix is purely decorative — it doesn't reflect the user's actual shell prompt, and it can't, since Continue doesn't know which shell the command will run in. On Windows, or in any cross-platform context, it's actively misleading: it implies a bash environment that may not exist.

Since the command is already visually distinct (styled text inside a labeled "Terminal" block), the prompt character adds no information. Removing it is the least-wrong choice across all platforms.

Current behavior

$ npm test

Expected behavior

npm test

Files

  • gui/src/components/UnifiedTerminal/UnifiedTerminal.tsx (lines 413, 461)
  • gui/src/components/UnifiedTerminal/UnifiedTerminal.test.tsx (lines 51, 71, 306)

Metadata

Metadata

Assignees

Labels

kind:bugIndicates an unexpected problem or unintended behavior

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions