Skip to content

Odd behaviour when editing commands in the history buffer #10

@ikanobori

Description

@ikanobori

When editing a command of the history buffer,
then browse away and back to this command (via up-/down-key),
and continue editing, some characters seem to switch their values.

How to reproduce (just a simple example):

  • start bpython
  • enter "x = 5"
  • enter "y = [1, 2, 3]"
  • press UP key to select the "y = [1, 2, 3]" line again
  • remove the "," behind the "2" => "y = [1, 2 3]"
  • press UP key then DOWN again
  • now it shows "y = [1, 2, 3]" again
  • remove the "," behind the "2" again
  • retype the "," (you don't need to change cursor position at this moment)
  • the space behind that "," switches to second "," => "y = [1, 2,,3]"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions