<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Apparently<a href="http://www.openradar.me/10660201" class=""> this is a known issue</a> with libedit-based CLIs.<div class=""><br class=""></div><div class="">~Robert Widmann<br class=""><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 7, 2017, at 12:46 AM, Halen Wooten via swift-dev <<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class="">When I build and run swift through Xcode, the terminal duplicates my<br class="">input. For example,<br class=""><br class="">var x = 3<br class=""><br class="">becomes:<br class=""><br class="">vvar ar x x = =3 3<br class=""><br class="">When I run the same swift binary through Terminal.app, that doesn't<br class="">happen. I also tried a basic test project that reads stdin and it<br class="">doesn't have that behavior.<br class=""><br class="">Does anyone have any ideas on how to get the Xcode terminal to behave<br class="">properly with the swift repl?<br class=""><br class="">Thanks,<br class="">Halen<br class="">_______________________________________________<br class="">swift-dev mailing list<br class=""><a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-dev<br class=""></div></div></blockquote></div><br class=""></div></div></body></html>