Simplify capture_for_prompt() (at least that was the goal :) ). The goal was to avoid the temporary index variables and auxiliary buffer. Changed: U trunk/Tools/tm_interactive_input/src/dialog.c