From 4dd9a81e0f517b0eec55a7451ff339788b51a602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?El=C3=ADas=20Mart=C3=ADnez?= Date: Wed, 14 Jun 2023 16:34:18 +0200 Subject: [PATCH] feat: add alt + shift modifiers (#316) * feat: add alt + shift modifiers * style: fix lint issues * Update parser.go Co-authored-by: Maas Lalani * Theme test: fix ineffectual assignment * test: add more test cases for suggestions * feat: setting to control cursor blinking (#324) * feat: setting to control cursor blinking * feat: create bool type * feat: parser updated * readme wording Co-authored-by: Maas Lalani * Update README.md Co-authored-by: Maas Lalani * Update parser.go * Update token.go * Update parser.go * Apply suggestions from code review --------- Co-authored-by: Maas Lalani * docs: Set CursorBlink examples * docs: fix CursorBlink example sizing * feat(deps): bump github.com/go-rod/rod from 0.112.8 to 0.113.3 (#321) Bumps [github.com/go-rod/rod](https://github.com/go-rod/rod) from 0.112.8 to 0.113.3. - [Release notes](https://github.com/go-rod/rod/releases) - [Commits](https://github.com/go-rod/rod/compare/v0.112.8...v0.113.3) --- updated-dependencies: - dependency-name: github.com/go-rod/rod dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(deps): bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19 (#310) Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.18 to 0.0.19. - [Commits](https://github.com/mattn/go-isatty/compare/v0.0.18...v0.0.19) --- updated-dependencies: - dependency-name: github.com/mattn/go-isatty dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * add note on TypingSpeed for new users in `demo.tape` (#327) Added note to the comment that is generated when a user calls `vhs new` to call out that `TypingSpeed` can be customized globally, and defaults to 50ms * docs: modify Ctrl keyword syntax * docs: update readme --------- Signed-off-by: dependabot[bot] Co-authored-by: Maas Lalani Co-authored-by: Andreas Deininger Co-authored-by: bashbunni Co-authored-by: Pavel Storozhenko Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matt Johnston --- README.md | 2 +- command.go | 38 +++++++++++++++++++++++++++++++------- man.go | 2 +- parser.go | 43 +++++++++++++++++++++++++++++++++++-------- parser_test.go | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ token.go | 13 +++++++++++-- 6 files changed, 127 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 2dba7ffd..b9e211ae 100644 --- a/README.md +++ b/README.md @@ -199,7 +199,7 @@ There are a few basic types of VHS commands: * [`Type ""`](#type): emulate typing * [`Left`](#arrow-keys) [`Right`](#arrow-keys) [`Up`](#arrow-keys) [`Down`](#arrow-keys): arrow keys * [`Backspace`](#backspace) [`Enter`](#enter) [`Tab`](#tab) [`Space`](#space): special keys -* [`Ctrl+`](#ctrl): press control + key +* [`Ctrl[+Alt][+Shift]+`](#ctrl): press control + key and/or modifier * [`Sleep