bbcmicrobit / bbcmicrobit/PythonEditor

WebUSB: Missing characters in REPL

Open
#253 1 comment 0 reactions 0 assignees View on GitHub
bug WebUSB
Dominant language
JavaScript
Stars
201
Forks
126
PR merge metrics
No merged PRs in 30d

Description

> micro:bit support #24390
> micro:bit support #24489
> micro:bit support #26301

When typing commands into the REPL, it often does not transmit the full attribute resulting in a an error

![image](https://user-images.githubusercontent.com/31242877/66297283-4be68a00-e8e7-11e9-971e-93328d1fad2a.png)

Another user reports the case that characters get added too eg microbit.accelerometer.get_x() produces
microbit.accelerometer.gget_x()

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the missing or duplicated characters while typing commands into the WebUSB REPL, then trace how REPL input is captured and transmitted. Done means commands such as microbit.accelerometer.get_x() arrive complete and without duplicated characters, with the reported error no longer occurring.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.