Skip to content

Commit

Permalink
feat(tui): persistent preferences (#9512)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshew authored Dec 18, 2024
1 parent db580f2 commit 46398a9
Show file tree
Hide file tree
Showing 6 changed files with 351 additions and 22 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Thank you for your interest in contributing to Turborepo!
- [Manually testing `turbo`](#manually-testing-turbo)
- [Repositories to test with](#repositories-to-test-with)
- [Debugging tips](#debugging-tips)
- [Verbose logging](#verbose-logging)
- [Verbose logging](#verbose-logging)
- [Crash logs](#crash-logs)
- [Terminal UI debugging](#terminal-ui-debugging)
- [Publishing `turbo` to the npm registry](#publishing-turbo-to-the-npm-registry)
Expand Down
3 changes: 2 additions & 1 deletion crates/turborepo-lib/src/run/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,9 @@ impl Run {

let (sender, receiver) = TuiSender::new();
let color_config = self.color_config;
let repo_root = self.repo_root.clone();
let handle = tokio::task::spawn(async move {
Ok(tui::run_app(task_names, receiver, color_config).await?)
Ok(tui::run_app(task_names, receiver, color_config, &repo_root).await?)
});

Ok(Some((sender, handle)))
Expand Down
Loading

0 comments on commit 46398a9

Please sign in to comment.