Skip to content

nixpkgs python repl isn't very terminal-friendly #17607

@copumpkin

Description

@copumpkin

Issue description

I can't use standard terminal keys in the python from nixpkgs.

Steps to reproduce

  1. nix-shell -p python
  2. python
  3. Enter 5 + 5
  4. Press the up arrow.
  5. Weep when you see ^[[A
  6. Press the left arrow
  7. Weep when you see ^[[D
  8. Press ctrl-A
  9. Weep when you see ^A

Technical details

I tried it on darwin nixpkgs and on NixOS:

  • NixOS version: 16.03pre73316.93d8671 (Emu)
  • Darwin Nixpkgs version: 16.09pre87549.8a1e7cd

Metadata

Metadata

Assignees

No one assigned

    Labels

    6.topic: pythonPython is a high-level, general-purpose programming language.6.topic: user experienceNixOS / Nixpkgs end user experience

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions