nteract / nteract

📘 The interactive computing suite for you! ✨

Home Page:https://nteract.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Input prompts don't disappear after entry

kycutler opened this issue · comments

Application or Package Used
nteract desktop

Describe the bug
Input prompts do not disappear after a reply is sent. Thus if there are multiple prompts (for example with multiple input() calls, or when using the pdb debugger), prompts accumulate endlessly. Also the input text is synchronized across all prompts, and remembered after clearing the cell outputs.

To Reproduce
Steps to reproduce the behavior:

  1. Connect to a python kernel
  2. Add a code cell with multiple input() calls and execute it
  3. Enter a value into each prompt and click "Submit"
  4. Notice that the input prompts do not disappear. In addition, the input text is synchronized across all prompts.

Expected behavior
When clicking "Submit" on an input prompt, the input box should disappear. Jupyter and JupyterLab follow this behavior, and also append the prompt text and reply to stdout.

Screenshots
nteractprompts

Desktop (please complete the following information):

  • OS: Windows 10
  • Version 0.28.0