Skip to content

Multi-line input only processes the first line #9948

Description

@languitar

With ipython 5.0 and 5.1 (from anaconda) I have the issue that multiple lines of input in one batch via the tty are not processed correctly. Only the first line is evaluated. This can be verified via tmux and the send-keys feature:

Start ipython in a tmux session:

tmux new -s test ipython

And send two lines of code in one batch from another terminal:

tmux send-keys -t 'test' 'print 42' Enter 'print 44' Enter

Only the first line is evaluated.

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