Apparently this is a known issue <http://www.openradar.me/10660201> with 
libedit-based CLIs.

~Robert Widmann


> On May 7, 2017, at 12:46 AM, Halen Wooten via swift-dev <swift-dev@swift.org> 
> wrote:
> 
> Hi,
> 
> When I build and run swift through Xcode, the terminal duplicates my
> input. For example,
> 
> var x = 3
> 
> becomes:
> 
> vvar ar x x = =3 3
> 
> When I run the same swift binary through Terminal.app, that doesn't
> happen. I also tried a basic test project that reads stdin and it
> doesn't have that behavior.
> 
> Does anyone have any ideas on how to get the Xcode terminal to behave
> properly with the swift repl?
> 
> Thanks,
> Halen
> _______________________________________________
> swift-dev mailing list
> swift-dev@swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to