fdcavalcanti commented on issue #3680:
URL: https://github.com/apache/nuttx-apps/issues/3680#issuecomment-5131439920

   @acassis there is some confusion going on.
   
   You showed an example of parsing raw input data. That is not my case, as the 
issue is in the data echoed back.
   
   Look at the example where my test simply does `serial.write('ls /dev')`:
   - Before:
   `nsh> #x1B[Kls /dev`
   - After:
   `nsh> #x1B[Kl#x1B[Ks#x1B[K #x1B[K/#x1B[Kd#x1B[Ke#x1B[Kv#x1B[K`
   
   So please check if this understanding is right:
   - You are saying `#x1B[K` should be before every single character
   - VT102 is not UTF-8 compatible
   - Your suggested approach is to fix on Python side?
   - Google says `No, \x1b[1K (or #x1B[Kl) should not appear before every 
character. It is an ANSI/VT102 control sequence meant to clear a line, and 
repeating it constantly is redundant and indicates a bug in your output stream 
or logging system.` Is that incorrect?
   
   Thanks for your help, I'm trying to get CI back up as soon as possible!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to