!7 static JLabel lblTime; p-tt { putBesideMemoryView(lblTime = jlabel()); while licensed { long time = sysNow(); S contents = ocr_terminalContents(); setText(lblTime, " " + elapsedMS(time) + " ms | "); 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"); } }