We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Start an instance of Processing (PDE1), write the following code in PDE1 and run the code:
void draw() {
if (keyPressed == true) { println("Key pressed!"); }
}
Whenever you press a key (sketch window being active), "Key pressed!" is written to the Console of PDE1.
Start another instance of Processing (PDE2). Return to the sketch window and press keys.
Surprisingly, output is written to console of PDE2.
Is this a bug or a feature?
Cheers,
Dominikus
Answers
I saw that too
obiously he's writing just in all consoles or into the active one no matter which sketch / instance of Processing it is...
And that's strange, isn't it? I would expect each instance to have a console on its own and under separate control.
I feel that too
Might be seen as a bug, indeed.
It has been reported a few times in this forum.
Perhaps the devs doesn't seen this as a priority to fix.
The bug has been reported elsewhere and has been fixed, see https://github.com/processing/processing/issues/2858