Maybe you could (re)open STDOUT to $ENV{PAGER} once your prompts are done?
In reply to Re: Pipping a script with prompts into less by Corion in thread Pipping a script with prompts into less by xorl