Feature: TUI prompt symbol reflects input mode
  The prompt must display the correct mode symbol so users know
  whether they are typing a normal message, a command, or shell input.

  Scenario Outline: Symbol updates when mode changes
    Given a TUI prompt widget
    When I set the TUI prompt value to "<input>"
    Then the TUI prompt symbol should be "<symbol>"

    Examples:
      | input  | symbol |
      | hello  | ❯      |
      | /help  | /      |
      | !ls    | $      |

  Scenario: Consuming text resets the prompt symbol
    Given a TUI prompt widget
    When I set the TUI prompt value to "/metrics"
    And I consume the TUI prompt text
    Then the TUI prompt symbol should be "❯"
    And the consumed TUI prompt text should be "/metrics"

  Scenario: Multi-line input toggles the multi-line prompt symbol
    Given a TUI prompt widget
    When I set the TUI prompt value to
      """
      line one
      line two
      """
    Then the TUI prompt symbol should be "☰"
