-
Notifications
You must be signed in to change notification settings - Fork 0
retimeSync
wolfram77 edited this page Apr 4, 2020
·
8 revisions
Updates time in asciicast file.
asciinema.retimeSync(f, o, [o.input], [o.inputRate], [o.inputDelay], [o.outputRate], [o.outputDelay], [o.delay]);
// f: filename
// o: options
// .input: input text
// .inputRate: input rate (0.1s)
// .inputDelay: input delay (1s)
// .outputRate: output rate (0.1s)
// .outputDelay: output delay (0.1s)
// .delay: initial delay (0s)
const asciinema = require('extra-asciinema');
asciinema.retimeSync('saved.cast', {inputDelay: 2});
// "saved.cast" is updated