2025-03-19 2:39 AM - last edited on 2025-03-20 4:23 AM by Andrew Neil
Code generated by CubeMX use Windows line-endings, which generate huge problems under other operating systems (repository, editors, etc.). You have to strip CR-LFs after every code generation.
Somebody should use standard method of platform-independent text file generation (StringBuffer and System.lineSeparator()).
2025-03-20 3:01 PM - edited 2025-03-20 3:38 PM
With more positive attitude and if you won't mind calling this bug 'feature request' this may get traction ))
@STTwo-32 ??
IIRC readline() can be configured to ignore CR with ~/.inputrc or some rl_... function.