1 [[!meta title="curses_check_for_keypress"]]
2 [[!template id=gitrepo repo=curses-check-for-keypress]]
4 There are some points in my experiment control code where the program
5 does something for an arbitrary length of time (e.g, waits while the
6 operator manually adjusts a laser's alignment). For these situations,
7 I wanted to be able to loop until the user pressed a key. This is a
8 simple enough idea, but the implementation turned out to be
9 complicated enough for me to spin it out as a stand-alone module.
13 [[!tag tags/programming]]