nsh with CLE and background tasks
- Dominant language
- C
- Stars
- 465
- Forks
- 779
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 36
Description
Trying to test the behaviour of CLE with the new code for character position.
I tried this command:
```
nsh>echo "abcd" &
```
to write output in the background and observe the cursor position for CLE.
However this does not really behave as expected and I cant explain what I see;
```
nsh> echo "abcd" &
echo [29:100]
nsh> h_child: BG echo
[6nabcd
child: BG echo complete
nsh: nsh_session: cle failed: 22
nsh>
```
Can you please investigate this? you can reproduce it directly in nsh with a simle "echo".
Configuring readline instead of CLE does not show this "lock" behaviour:
```
nsh> echo abcd &
echo [13:100]
nsh> h_child: BG echo
[Kabcd
child: BG echo complete
nsh>
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.