chzyer / readline

Readline is a pure go(golang) implementation for GNU-Readline kind library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to read multi-line input?

junyu-w opened this issue · comments

Not sure if this is something achievable at this moment so this could either be an inquiry or a feature reqeust:

I used readline in my project corgi, and I have found that when I paste a multiline input like

docker run -p 2181:2181 -p 9092:9092 \
--env ADVERTISED_HOST="172.17.0.1" \
--env ADVERTISED_PORT=9092 \
--env NUM_PARTITIONS="2" \
--env TOPICS="topic1,topic2" \
spotify/kafka

only the first line docker run -p 2181:2181 -p 9092:9092 \ was read.

Any idea about how to solve this?