!7 cmodule ELESystemWindows > ELESuggester { void init { super.init(); processInitialInput = false; dm_vmBus_onMessage eleSameInputAgain(s -> process((S) s)); } void process_impl(S s) enter { // TODO: find out why we are in wrong module without "enter" print("Got: " + s); if (dm_moduleIsPoppedOut()) { print("Filtering for: " + s); showSuggestions(s, containingIC(suggestions, s)); ret; } if "system windows" { print("Showing suggestions and popping out"); showSuggestions(s, map(dm_windows(), w -> "[" + w.windowIdentity + "] " + w.windowTitle)); dm_popOutModule(module()); assertEquals(dm_current_mandatory(), module()); } } }