work correctly together with readline(). Will backport to 2.5.
Attach a file by drag & drop or click to upload