cursive-async-view 0.5.0

A loading-screen wrapper for gyscos/cursive views
Documentation
# The configurations that used for the recording, feel free to edit them
config:

  # Specify a command to be executed
  # like `/bin/bash -l`, `ls`, or any other commands
  # the default is bash for Linux
  # or powershell.exe for Windows
  command: ../target/debug/examples/progress
  
  # Specify the current working directory path
  # the default is the current working directory path
  cwd: /home/fin/Development/github/cursive-async-view/assets
  
  # Export additional ENV variables
  env:
    recording: true
  
  # Explicitly set the number of columns
  # or use `auto` to take the current
  # number of columns of your shell
  cols: 80
  
  # Explicitly set the number of rows
  # or use `auto` to take the current
  # number of rows of your shell
  rows: 24
  
  # Amount of times to repeat GIF
  # If value is -1, play once
  # If value is 0, loop indefinitely
  # If value is a positive number, loop n times
  repeat: 0
  
  # Quality
  # 1 - 100
  quality: 100
  
  # Delay between frames in ms
  # If the value is `auto` use the actual recording delays
  frameDelay: auto
  
  # Maximum delay between frames in ms
  # Ignored if the `frameDelay` isn't set to `auto`
  # Set to `auto` to prevent limiting the max idle time
  maxIdleTime: 2000
  
  # The surrounding frame box
  # The `type` can be null, window, floating, or solid`
  # To hide the title use the value null
  # Don't forget to add a backgroundColor style with a null as type
  frameBox:
    type: solid
    title: null
    style:
      border: 0px black solid
      boxShadow: none
      margin: 0px
  
  # Add a watermark image to the rendered gif
  # You need to specify an absolute path for
  # the image on your machine or a URL, and you can also
  # add your own CSS styles
  watermark:
    imagePath: null
    style:
      position: absolute
      right: 15px
      bottom: 15px
      width: 100px
      opacity: 0.9
  
  # Cursor style can be one of
  # `block`, `underline`, or `bar`
  cursorStyle: block
  
  # Font family
  # You can use any font that is installed on your machine
  # in CSS-like syntax
  fontFamily: "Hack, Twemoji"
  
  # The size of the font
  fontSize: 12
  
  # The height of lines
  lineHeight: 1
  
  # The spacing between letters
  letterSpacing: 0
  
  # Theme
  theme:
    background: "transparent"
    foreground: "#839496"
    cursor: "#839496"
    black: "#073642"
    red: "#DC322F"
    green: "#859900"
    yellow: "#B58900"
    blue: "#268BD2"
    magenta: "#D3368"
    cyan: "#2AA198"
    white: "#EEE8D5"
    brightBlack: "#002B36"
    brightRed: "#CB4B16"
    brightGreen: "#586E75"
    brightYellow: "#657B83"
    brightBlue: "#839496"
    brightMagenta: "#6C71C4"
    brightCyan: "#93A1A1"
    brightWhite: "#FDF6E3"
  
# Records, feel free to edit them
records:
  - delay: 486
    content: "\e[?1049h\e[22;0;0t\e[1;24r\e(B\e[m\e[4l\e[?7h\e[?1h\e=\e[?1006;1000h\e[39;49m\e[?25l\e[?1002h\e[39;49m\e[34m\e[44m\e[H\e[2J\e[16d\e[J\e[H\e[K\n\e[K\n\e[K\n\e[K\n\e[K\n\e[K\n\e[K\n\e[K\n\e[K\e[10;18H\e[1K \e[30m\e[47m┌──────────────────────────────────────────┐\e[34m\e[44m\e[K\e[11;18H\e[1K \e[30m\e[47m│ \e[34m\e[47m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\e[30m\e[47m │\e[30m\e[40m \e[34m\e[44m\e[K\e[12;18H\e[1K \e[30m\e[47m│\e[42X\e[12;62H│\e[30m\e[40m \e[34m\e[44m\e[K\e[13;18H\e[1K \e[30m\e[47m│\e[37X\e[13;57H\e[37m\e[41m<Ok>\e[30m\e[47m │\e[30m\e[40m \e[34m\e[44m\e[K\e[14;18H\e[1K \e[30m\e[47m└──────────────────────────────────────────┘\e[30m\e[40m \e[34m\e[44m\e[K\e[15;19H\e[1K \e[30m\e[40m\e[44X\e[15;64H\e[34m\e[44m\e[K\e[13d\b\e[39;49m\e(B\e[m"
  - delay: 1012
    content: "\e[11;21H\e[31m\e[47m━━━\e[13;63H\e[39;49m\e(B\e[m"
  - delay: 31
    content: "\e[11;24H\e[31m\e[47m━━\e[13;63H\e[39;49m\e(B\e[m"
  - delay: 31
    content: "\e[11;26H\e[31m\e[47m━\e[13;63H\e[39;49m\e(B\e[m"
  - delay: 31
    content: "\e[11;27H\e[31m\e[47m━\e[13;63H\e[39;49m\e(B\e[m"
  - delay: 918
    content: "\e[11;28H\e[31m\e[47m━━━━━\e[13;63H\e[39;49m\e(B\e[m"
  - delay: 30
    content: "\e[11;33H\e[31m\e[47m━━\e[13;63H\e[39;49m\e(B\e[m"
  - delay: 31
    content: "\e[11;35H\e[31m\e[47m━\e[13;63H\e[39;49m\e(B\e[m"
  - delay: 922
    content: "\e[11;36H\e[31m\e[47m━━━━━━\e[13;63H\e[39;49m\e(B\e[m"
  - delay: 30
    content: "\e[11;42H\e[31m\e[47m━━\e[13;63H\e[39;49m\e(B\e[m"
  - delay: 980
    content: "\e[11;44H\e[31m\e[47m━━━━━━\e[13;63H\e[39;49m\e(B\e[m"
  - delay: 31
    content: "\e[11;50H\e[31m\e[47m━━\e[13;63H\e[39;49m\e(B\e[m"
  - delay: 981
    content: "\e[34m\e[44m\e[H\e[2J\e[16d\e[J\e[H\e[K\n\e[K\n\e[K\n\e[K\n\e[K\n\e[K\n\e[K\n\e[K\n\e[K\e[10;21H\e[1K \e[30m\e[47m┌────────────────────────────────────┐\e[34m\e[44m\e[K\e[11;21H\e[1K \e[30m\e[47m│ \U0001F980  Yay, the content has loaded! \U0001F980  │\e[30m\e[40m \e[34m\e[44m\e[K\e[12;21H\e[1K \e[30m\e[47m│\e[36X\e[12;59H│\e[30m\e[40m \e[34m\e[44m\e[K\e[13;21H\e[1K \e[30m\e[47m│\e[31X\e[13;54H\e[37m\e[41m<Ok>\e[30m\e[47m │\e[30m\e[40m \e[34m\e[44m\e[K\e[14;21H\e[1K \e[30m\e[47m└────────────────────────────────────┘\e[30m\e[40m \e[34m\e[44m\e[K\e[15;22H\e[1K \e[30m\e[40m\e[38X\e[15;61H\e[34m\e[44m\e[K\e[13d\b\e[39;49m\e(B\e[m"
  - delay: 4697
    content: "\e[?1002l\e[?1006;1000l\e[24;1H\e[?12l\e[?25h\e[?1049l\e[23;0;0t\r\e[?1l\e>"