#!/usr/bin/php = 2) { $editor->open($argv[1]); } $editor->setStatusMessage('HELP: Ctrl-Q = quit'); // Input Loop while (true) { $editor->refreshScreen(); // Spin while waiting for a keypress $char = $editor->processKeypress(); while ($char === '') { $char = $editor->processKeypress(); } if ($char === NULL) { break; } } return 0; } //! Init main($argc, $argv);