add screencast (#8)

This commit is contained in:
T.v.Dein
2023-11-07 14:19:32 +01:00
committed by GitHub
parent 2ce8cc7a7e
commit 23a4d87514
5 changed files with 31 additions and 0 deletions

View File

@@ -23,6 +23,9 @@ Features:
- history - history
- comments (comment character is `#`) - comments (comment character is `#`)
## Demo
![asciicast](demo/demo.gif)
## Working principle ## Working principle

7
demo/Makefile Normal file
View File

@@ -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
demo/demo.cast Normal file
View File

@@ -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"]

BIN
demo/demo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 KiB

18
demo/sessions.txt Normal file
View File

@@ -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
*