Skip to content

Commit

Permalink
fix: extra newline on muted, replaced input (#52)
Browse files Browse the repository at this point in the history
Co-authored-by: deed02392 <georgehafiz@gmail.com>
  • Loading branch information
wraithgar and deed02392 committed Apr 13, 2023
1 parent cc06aec commit f30fe66
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/read.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ module.exports = async function read ({
rl.on('line', (line) => {
if (silent && terminal) {
output.unmute()
output.write('\r\n')
}
done()
// truncate the \n at the end.
Expand Down

0 comments on commit f30fe66

Please sign in to comment.