Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ShirosakiMio committed Sep 23, 2024
1 parent 91f7d4c commit 3ffa804
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
editText = findViewById(R.id.shell_input);
appendLog("Welcome to use Fold Craft Launcher!\n");
appendLog("Here is the shell command line!\n");
shellUtil = new ShellUtil(new File(FCLPath.FILES_DIR).getParent(), output -> appendLog("\t" + output + "\n"));
shellUtil = new ShellUtil(new File(FCLPath.FILES_DIR).getParent(), output -> runOnUiThread(() -> appendLog("\t" + output + "\n")));
shellUtil.start();
editText.addTextChangedListener(new TextWatcher() {
@Override
Expand Down

0 comments on commit 3ffa804

Please sign in to comment.