fix: add raced handling for mire record to handle delays for breaking stdin

This commit is contained in:
2026-03-24 23:05:40 +00:00
parent 2171e2d907
commit be4c143b9d
10 changed files with 419 additions and 18 deletions
+2 -2
View File
@@ -24,8 +24,8 @@ func newRecordCommand() *cobra.Command {
if errors.Is(err, mire.ErrRecordingDiscarded) {
return nil
}
cmd.PrintErrln(err)
return nil
cmd.SilenceUsage = true
return err
}
output.Println(createdPath)