product-mini/nuttx: Use readline for repl mode (#469)
product-mini/nuttx: Use readline for repl mode (#469)

The EOL of NuttX is configurable (CR/LF/CRLF), the implementation
of getline in NuttX need CR or LF as line delimiter(CRLF not supported).
Then we should use readline for better compatibility.

Signed-off-by: Huang Qi <d5ddc73b08badd4d7d9ae5463eeb895d1f50627d@xiaomi.com>

Co-authored-by: Huang Qi <d5ddc73b08badd4d7d9ae5463eeb895d1f50627d@xiaomi.com>
bytecodealliance/wasm-micro-runtime,bytecodealliance/wasm-micro-runtime,bytecodealliance/wasm-micro-runtime,bytecodealliance/wasm-micro-runtime,bytecodealliance/wasm-micro-runtime,bytecodealliance/wasm-micro-runtime,bytecodealliance/wasm-micro-runtime,bytecodealliance/wasm-micro-runtime