aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/ts/tskm/src/interface/input
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-03 18:26:23 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-03 18:26:23 +0200
commit821ada0b8c3ffef3d4286f3c4fc15871ff9b5f65 (patch)
treeccda5ab8d3cc298c85422cf83c3d95274de77747 /pkgs/by-name/ts/tskm/src/interface/input
parentpkgs/*/update.sh: Perform more through cargo updates (diff)
downloadnixos-config-821ada0b8c3ffef3d4286f3c4fc15871ff9b5f65.zip
pkgs/tskm: Update `taskchampion` to 3.x
Diffstat (limited to 'pkgs/by-name/ts/tskm/src/interface/input')
-rw-r--r--pkgs/by-name/ts/tskm/src/interface/input/handle.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/by-name/ts/tskm/src/interface/input/handle.rs b/pkgs/by-name/ts/tskm/src/interface/input/handle.rs
index d9904657..cd868f7a 100644
--- a/pkgs/by-name/ts/tskm/src/interface/input/handle.rs
+++ b/pkgs/by-name/ts/tskm/src/interface/input/handle.rs
@@ -28,7 +28,7 @@ use super::{Input, Tag};
/// # Panics
/// When internal assertions fail.
#[allow(clippy::too_many_lines)]
-pub fn handle(command: InputCommand, state: &mut State) -> Result<()> {
+pub async fn handle(command: InputCommand, state: &mut State) -> Result<()> {
match command {
InputCommand::Add { inputs } => {
for input in inputs {
@@ -79,10 +79,11 @@ pub fn handle(command: InputCommand, state: &mut State) -> Result<()> {
&project,
state,
Some(all.iter().map(|f| f.url.clone()).collect()),
- )?;
+ )
+ .await?;
{
- use std::io::{Write, stdin, stdout};
+ use std::io::{stdin, stdout, Write};
let mut s = String::new();
eprint!("Continue? (y/N) ");