larch gui: use key-up events on Darwin (test this elsewhere)