Don't call PyMac_OutputSeen if we have a custom console. Fix by
Alexandre Parenteau.
GUSISIOUXSocket::GUSISIOUXSocket(int fd) : fFd(fd)
{
- if (!PyMac_GetDelayConsoleFlag() && !hasCustomConsole() && !initialized)
- Initialize();
- /* Tell the upper layers there's no unseen output */
- PyMac_OutputSeen();
+ if (!hasCustomConsole()) {
+ if (!PyMac_GetDelayConsoleFlag() && !initialized)
+ Initialize();
+ /* Tell the upper layers there's no unseen output */
+ PyMac_OutputSeen();
+ }
}
void