Re: [swift-users] Problem with console apps

2017-02-09 Thread Jens Alfke via swift-users
> On Feb 9, 2017, at 3:33 AM, Andrey Fidrya via swift-users > wrote: > > Neither setbuf(stdout, nil) nor fflush(stdout) helps, so it appears > this is an Xcode issue. In that case you should file bug report at http://bugreport.apple.com .

Re: [swift-users] Problem with console apps

2017-02-09 Thread Andrey Fidrya via swift-users
A follow-up: flushing stdout works in console, but not in Xcode. Neither setbuf(stdout, nil) nor fflush(stdout) helps, so it appears this is an Xcode issue. import Darwin setbuf(stdout, nil) while true { print("A question.") print("Your answer: ", terminator: "") // not printed

[swift-users] Problem with console apps

2017-02-08 Thread Andrey Fidrya via swift-users
Hi All, In Xcode 8.3 beta print() stopped outputting unterminated lines: https://bugs.swift.org/browse/SR-3827 I've retested with recently released beta 2 and the issue is still present. Could anyone from dev team take a look at this issue please? I'm