antipole2/JavaScript_pi

Limit length of text in output pane

Closed this issue · 0 comments

A script could flood output pane to the extent that it might use so much memory that it jeopardised the functioning of OpenCPN. Normally, such a script would time out before this happened.

However, it could allocate itself more time or the output could be produced from repeated callbacks, each of which gets a fresh time allocation.

Devise a way of limiting the size of text in the output pane.

Should this be changeable?

Clear output pane option?