in reply to Re: [RFC] new module Term::ANSIMenu
in thread [RFC] new module Term::ANSIMenu
I have improved the pod and added some 76 tests. Everything that is not interactive and does not print to STDOUT directly is tested now. Thanks for the nudge in the right direction. The new version is available here
I had to change the destructor though. It cleared the screen which is annoying during/after the tests, so I made it optional. Well, more freedom to the user is always a good thing anyway...
There's one problem left (I think). The constructor does clear the screen too and I am reluctant to make that optional as I have no reliable way of getting the current position of the cursor (anyone know of something?), but it seems i'll have to. The test suite calls new() and thus clears the screen, which is not a good thing there. I need to think on a robust way of doing this...
Thanks for your comments
|
|---|