-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- check for window id very early - grab a screenshot before recording starts, to verify it works - present a nice error message to show what is wrong
- Loading branch information
Showing
7 changed files
with
40 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "t-rec" | ||
version = "0.2.0" | ||
version = "0.2.1" | ||
authors = ["Sven Assmann <[email protected]>"] | ||
edition = "2018" | ||
license = "GPL-3.0-only" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ Blazingly fast terminal recorder that generates animated gif images for the web | |
|
||
## Install | ||
|
||
**NOTE** for now `t-rec` depends on `imagemagick`, but this is going to change soon. | ||
**NOTE** for now `t-rec` depends on `imagemagick`. | ||
|
||
```sh | ||
❯ brew install imagemagick | ||
|
@@ -53,7 +53,7 @@ or with specifying a different program to launch | |
|
||
```sh | ||
❯ t-rec --help | ||
t-rec 0.2.0 | ||
t-rec 0.2.1 | ||
Sven Assmann <[email protected]> | ||
Blazingly fast terminal recorder that generates animated gif images for the web written in rust. | ||
|
||
|
@@ -89,9 +89,11 @@ You can record not only the terminal but also every other window. There 2 ways t | |
```sh | ||
❯ TERM_PROGRAM="google chrome" t-rec | ||
Frame cache dir: "/var/folders/m8/084p1v0x4770rpwpkrgl5b6h0000gn/T/trec-74728.rUxBx3ohGiQ2" | ||
Recording window: "Google Chrome 2" | ||
Press Ctrl+D to end recording | ||
Recording Window: "Google Chrome 2" | ||
``` | ||
this is how it looks then: | ||
|
@@ -111,6 +113,7 @@ Code | 27600 | |
❯ WINDOWID=27600 t-rec | ||
Frame cache dir: "/var/folders/m8/084p1v0x4770rpwpkrgl5b6h0000gn/T/trec-77862.BMYiHNRWqv9Y" | ||
Recording window id: 27600 | ||
Press Ctrl+D to end recording | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters