From c82dab7832545b92051bb931dbe126444b739086 Mon Sep 17 00:00:00 2001 From: Colin Kennedy Date: Fri, 26 May 2023 21:24:28 -0300 Subject: [PATCH 1/8] add sleep step --- demo.tape | 3 +++ 1 file changed, 3 insertions(+) diff --git a/demo.tape b/demo.tape index b20e93f..d3be4e0 100644 --- a/demo.tape +++ b/demo.tape @@ -56,3 +56,6 @@ Down Type "s" Down Type "a" +Down +Type "z" +Down From 8ceabb64d752bae64241e8d5dc1ce44eb19055d2 Mon Sep 17 00:00:00 2001 From: Colin Kennedy Date: Fri, 26 May 2023 21:26:33 -0300 Subject: [PATCH 2/8] fix trigger for vhs action --- .github/workflows/vhs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/vhs.yml b/.github/workflows/vhs.yml index 53ca964..85a60ca 100644 --- a/.github/workflows/vhs.yml +++ b/.github/workflows/vhs.yml @@ -1,8 +1,8 @@ name: vhs on: - push: - paths: - - vhs.tape + pull_request: + branches: + - trunk jobs: vhs: runs-on: ubuntu-latest From f776ac37b5bed86ac2fcd9f8e88e99222f2f7f9a Mon Sep 17 00:00:00 2001 From: Colin Kennedy Date: Sat, 27 May 2023 00:40:36 -0300 Subject: [PATCH 3/8] prevent keystrokes from 'falling through' modals --- tui/update.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tui/update.go b/tui/update.go index 3f534a7..b95d735 100644 --- a/tui/update.go +++ b/tui/update.go @@ -58,6 +58,7 @@ func (t tui) Update(msg tea.Msg) (tea.Model, tea.Cmd) { // scroll down } } + return t, nil } if t.mode == pomo { @@ -95,6 +96,7 @@ func (t tui) Update(msg tea.Msg) (tea.Model, tea.Cmd) { t.mode = navigation } } + return t, nil } if t.mode == edit { From 6dafb1ada309f85ce59ce2aead3fb818b59822a2 Mon Sep 17 00:00:00 2001 From: Colin Kennedy Date: Fri, 26 May 2023 21:24:28 -0300 Subject: [PATCH 4/8] add sleep step --- demo.tape | 3 +++ 1 file changed, 3 insertions(+) diff --git a/demo.tape b/demo.tape index b20e93f..d3be4e0 100644 --- a/demo.tape +++ b/demo.tape @@ -56,3 +56,6 @@ Down Type "s" Down Type "a" +Down +Type "z" +Down From 5d3e85794173c709394513534794584c8019b238 Mon Sep 17 00:00:00 2001 From: Colin Kennedy Date: Fri, 26 May 2023 21:26:33 -0300 Subject: [PATCH 5/8] fix trigger for vhs action --- .github/workflows/vhs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/vhs.yml b/.github/workflows/vhs.yml index 53ca964..85a60ca 100644 --- a/.github/workflows/vhs.yml +++ b/.github/workflows/vhs.yml @@ -1,8 +1,8 @@ name: vhs on: - push: - paths: - - vhs.tape + pull_request: + branches: + - trunk jobs: vhs: runs-on: ubuntu-latest From c8d951b4d0ec1a614b56dd8b96cf8e9332d9acac Mon Sep 17 00:00:00 2001 From: Colin Kennedy Date: Sat, 27 May 2023 13:12:30 -0300 Subject: [PATCH 6/8] add vhs doc summary to demotape file --- demo.tape | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 59 insertions(+), 5 deletions(-) diff --git a/demo.tape b/demo.tape index d3be4e0..4d7bbf9 100644 --- a/demo.tape +++ b/demo.tape @@ -1,8 +1,62 @@ +# VHS documentation +# +# Output: +# Output .gif Create a GIF output at the given +# Output .mp4 Create an MP4 output at the given +# Output .webm Create a WebM output at the given +# +# Require: +# Require Ensure a program is on the $PATH to proceed +# +# Settings: +# Set FontSize Set the font size of the terminal +# Set FontFamily Set the font family of the terminal +# Set Height Set the height of the terminal +# Set Width Set the width of the terminal +# Set LetterSpacing Set the font letter spacing (tracking) +# Set LineHeight Set the font line height +# Set LoopOffset % Set the starting frame offset for the GIF loop +# Set Theme Set the theme of the terminal +# Set Padding Set the padding of the terminal +# Set Framerate Set the framerate of the recording +# Set PlaybackSpeed Set the playback speed of the recording +# Set MarginFill Set the file or color the margin will be filled with. +# Set Margin Set the size of the margin. Has no effect if MarginFill isn't set. +# Set BorderRadius Set terminal border radius, in pixels. +# Set WindowBar Set window bar type. (one of: Rings, RingsRight, Colorful, ColorfulRight) +# Set WindowBarSize Set window bar size, in pixels. Default is 40. +# +# Sleep: +# Sleep