moo.shell.tests.test_session_commands.test_repl_setup_signals_startup_drain_complete
- moo.shell.tests.test_session_commands.test_repl_setup_signals_startup_drain_complete()
_repl_setup must open the session buffer, fire confunc, and signal process_messages that startup has finished.
The drain is deliberately deferred to
process_messagesso it runs viarun_in_terminalafter the prompt Application is live — draining directly to the SSH channel from_repl_setupwould be wiped by the Application’s initial erase-in-display.