Light-Labs / Light-Labs/rydcon

Input split over multiple lines when receiving delayed output

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Output can be delayed due to confirm dialogues or buffering commands, and when it is eventually received, the currently entered input gets stuck on an old prompt visually (but continues to function normally):

```
> COMMAND_SETUP
< 01 (RESPONSE_OK)
< 0a (RESPONSE_WAIT_USER_CONFIRM)
// Buffer a command during the confirm dialogue
> ff
> COMMAND_
// `cancel` is pressed on the device here so that the `ff` command can be processed
< ff (RESPONSE_ERROR_UNKNOWN_COMMAND)
> INFO
< 72796465720000050001
>
```

See [this comment](https://github.com/Light-Labs/rydcon/pull/4#issuecomment-1291039438) for more details.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reproduction transcript in the issue and read the linked pull request comment for more details about delayed output and prompt rendering. Reproduce the confirm-dialogue or buffering scenario; done means the currently entered input remains visually attached to the current prompt while still functioning normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.