Skip to content

Commit

Permalink
add screencast
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas von Dein committed Nov 7, 2023
1 parent e963a77 commit 3705f98
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ Features:
- completion
- history

## Demo

![asciicast](demo/demo.gif)

## Working principle

Expand Down
7 changes: 7 additions & 0 deletions demo/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#


all:
asciinema rec --cols 80 --row 25 -c "env - PS1='> ' PATH=..:$PATH /bin/bash --norc --noprofile" --overwrite demo.cast
agg demo.cast demo.gif

3 changes: 3 additions & 0 deletions demo/demo.cast
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{"version": 2, "width": 80, "height": 25, "timestamp": 1699358215, "env": {"SHELL": "/bin/bash", "TERM": "tmux-256color"}}
[0.005628, "o", "> "]
[0.941195, "o", "exit\r\n"]
Binary file added demo/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions demo/sessions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# demo sessions, used to create an interactive rpn recording

# part 1: interactive

# put some numbers onto the stack
2 4 6
8
10

# take a look at the stack
dump

# add the last 2
+

# multiply the result and the previous
*

0 comments on commit 3705f98

Please sign in to comment.