!7 p-tt { JComponent mv = consoleMemoryView(); if (mv != null) replaceComponent(mv, func(Component mv) -> Component { westAndCenter(jlabel("test "), mv) }); while licensed { S contents = ocr_terminalContents(); if (empty(contents)) continue; S line = lastLine(rtrim(contents)); line = dropSuffix(diamond(), line); print("Line: " + line); int i = indexOf(line, " $ "); if (i < 0) continue; S cmd = trimSubstring(line, i+3); if (eqic(cmd, "list")) infoBox("You mean: ls"); } }