Skip to content

Prompt incorrectly read from PTY #24

Description

@slowli

For standard shells (e.g., sh), the shell prompt is sometimes read from PTY on a wrong line: not with the echoed input, but with the output. For example, in the slightly modified multiline test: "echo \\\n$HOME" input command sometimes leads to ["$HOME", "> /home/user"] being captured as the last 2 lines instead of expected ["> $HOME", "/home/user"].

Activity

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions