moo.shell.tests.test_window
Tests for the windowed-display mode:
WindowStategrid/scroll model (write/overwrite, cursor+emit, clear, resize, scroll tail).build_window_appconstruction smoke test.MooPrompt.run_window_sessioncallback dispatch + lifecycle flag.MooPrompt._route_window_eventmutations + raw-mode no-op.editor/paginator rejection while a window is active.
MooPrompt._window_appendoutput reroute.
Functions
c-q / c-c (window_eof clear) just closes the window — the session stays up. |
|
|
|
^D in window mode (window_eof set) quits the session: run_window_session sets is_exiting and the disconnect_event so the main loop breaks. |
|