Skip to content

Prompt incorrectly read from PTY #24

@slowli

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"].

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