Skip to content

back space output ^H #1196

Description

@morzen

Hello, I came across an issue while creating a CLI which I can't show you, so the example will be done using your basic.py program from the example programs.
(although I had to make some modifications around the blue arrows see picture )

changing use_ipython=True to include_ipy=True
other wise i had errors
and change
self.intro = style('Welcome to PyOhio 2019 and cmd2!', fg='red', bg='white', bold=True) + ' 😀'
to
self.intro = style('Welcome to PyOhio 2019 and cmd2!', bold=True) + ' 😀'
other wise i had error as well

and has you can see on the screenshot on the first line of the prompt i am able to delete without any issue what I type but if I enter and pass to a new prompt line then when hitting backspace ^H appears.

image

This being quite a specific problem l was unable to find people with similar issue although it appears backspace and ipython have a history.

An important point to note is that cmd (previous version of cmd2) did not suffer from this issue, might be something to look into, in order to improve backward compatibility.

I thank you very much for reading this post

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions