Fix task details being truncated

This commit is contained in:
Dheepak Krishnamurthy 2021-02-17 15:32:24 -07:00
parent 0fb54f291e
commit e41e31c6e1

View file

@ -518,7 +518,7 @@ impl TTApp {
let task_uuid = *self.tasks.lock().unwrap()[selected].uuid();
let output = Command::new("task")
.arg("rc.color=off")
.arg(format!("rc.defaultwidth={}", f.size().width))
.arg(format!("rc.defaultwidth={}", f.size().width-2))
.arg(format!("{}", task_uuid))
.output();
if let Ok(output) = output {