Skip to content

Prompt customization doesn't seem to be supported #619

Closed

Description

@dj-256

Environment details

  • OS: ubuntu (docker image)
  • OS version: 22.04
  • node-pty version: 1.0.0

Issue description

When using a custom prompt definition - in my case echo "PS1=\"\e[1;32m\u@tuto\e[0m:\e[1;34m\w\e[0m\$ \"" >> /root/.bashrc, node-pty does not seem to understand it and some weird things happen on the UI. The first line of the terminal is reduced and gets rewritten when it's exceeded. Stranger things happen when trying to erase text in the terminal. I'm using xterm.js with sockets.

Activity

  1. locked and limited conversation to collaborators on Jul 24, 2023
  2. converted this issue into a discussion #620 on Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions