From 512fc234ac52b4aed17ccf7b60fbd286260f22a2 Mon Sep 17 00:00:00 2001 From: Daniel Himmelstein Date: Tue, 9 Oct 2018 14:13:55 -0400 Subject: [PATCH] Add --speed command line argument Not yet functional --- src/cli.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cli.ts b/src/cli.ts index 235192c..5eba77c 100755 --- a/src/cli.ts +++ b/src/cli.ts @@ -56,6 +56,7 @@ withCli( --padding-x distance between text and image bounds on x axis [number] --padding-y distance between text and image bounds on y axis [number] --profile terminal profile file to use, requires --term [string] + --speed speed multiplier, above 1 speeds up animation [number, default=1] --term terminal profile format [iterm2, xrdb, xresources, terminator, konsole, terminal, remmina, termite, tilda, xcfe], requires --profile [string] --to upper range of timeline to render in ms [number] --width width in columns [number] @@ -87,6 +88,7 @@ withCli( default: { cursor: true, optimize: true, + speed: 1, window: false } } @@ -420,7 +422,7 @@ async function extractTheme(term: string, name: string): Promise