The text console of wgnuplot offers a fixed line length
and a fixed number of lines only. This patch aims to implement a more flexible approach. It offers dynamic line wrapping, i.e. wrapping is changed automatically according to the current window width. Optionally wrapping of long lines can be turned of completely. The size of the circular buffer used to store the text can be changed via wgnuplot.ini (a user interface for this hasn't been implemented yet). This adresses feature request 992352.
Currently no support for different text attributes (e.g. colours) has been implemented. This means the user can no longer distinguish between gnuplot output (black by default) and user input (blue by default), if "System Colors" is not selected.
Parts of the current implementation could be sped up considerably by caching the results of calculations which are performed during every redraw. But it's probably not really worth the effort since I do not experience slow redraws on the almost "antique" laptop I am working on right now. ;-)
Comments and suggestions greatly appreciated.