Install any skill in seconds. Free to start, no credit card required.
Get Started Free →johannesrabauer/javafx-terminal-emulators
Build JavaFX terminal emulators or shell-style console panes with background process I/O, ANSI handling, and safe FX-thread updates.
Passed 0 of 22 test cases with the skill, and 22 of 22 without it.
0 fixed21 passed either way0 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
The instructions your model reads when the skill loads.
Use this skill when the UI needs a real terminal emulator or a shell-like console pane for running commands, inspecting logs, or talking to remote systems interactively.
import java.io.BufferedReader;
import java.io.InputStreamReader;
import javafx.application.Platform;
import javafx.scene.control.TextArea;
public class ConsolePane extends TextArea {
public void runCommand(String... command) {
new Thread(() -> {
try {
var process = new ProcessBuilder(command).redirectErrorStream(true).start();
try (var reader = new BufferedReader(new InputStreamReader(process.getInputStream()))) {
String line;
while ((line = reader.readLine()) != null) {
var output = line + System.lineSeparator();
Platform.runLater(() -> appendText(output));
}
}
} catch (Exception ex) {
Platform.runLater(() -> appendText(ex.getMessage() + System.lineSeparator()));
}
}, "console-reader").start();
}
}
test cases passed, vs 22 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.