Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Commit

Permalink
Minor tweaks before release
Browse files Browse the repository at this point in the history
  • Loading branch information
nbedos committed Jul 6, 2019
1 parent 7fe781b commit e107277
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 16 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Changelog

## Version 0.9.0rc0 (2019-07-06)
## Version 0.9.0 (2019-07-06)

* Switch from SMIL animations to animations created via CSS or the Web Animations API (issues[#75](https://github.com/nbedos/termtosvg/issues/75),
* Switch from SMIL animations to animations created via CSS or the Web Animations API (issues [#75](https://github.com/nbedos/termtosvg/issues/75),
[#86](https://github.com/nbedos/termtosvg/issues/86),
[#94](https://github.com/nbedos/termtosvg/issues/94))
* Add CLI option `--loop-delay` for customization of the delay between two loops of the animation ([issue #95](https://github.com/nbedos/termtosvg/issues/95))
* Fix text length computation involving wide Unicode characters ([issue #96](https://github.com/nbedos/termtosvg/issues/96))
* Fix invalid type restriction for the timeout parameter of asciicast v2 headers ([issue #97](https://github.com/nbedos/termtosvg/issues/97))


## Version 0.8.0 (2018-01-20)
## Version 0.8.0 (2019-01-20)

* Implement still frame rendering ([issue #50](https://github.com/nbedos/termtosvg/issues/50))
* Properly handle zero width characters ([issue #89](https://github.com/nbedos/termtosvg/issues/89))
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h1><a href="../index.html">termtosvg</a></h1>
<section id="content" class="body">
<h1 class="entry-title">templates</h1>

<p>This is the gallery of default templates of termtosvg. All templates can
<p>This is a gallery containing some of the default templates of termtosvg. All templates can
be found <a href="https://github.com/nbedos/termtosvg/tree/develop/termtosvg/data/templates">on GitHub</a>.</p>
<p>If you're interested in creating your own template, see the
<a href="https://github.com/nbedos/termtosvg/blob/develop/man/termtosvg-templates.md">dedicated manual page</a>.</p>
Expand Down
11 changes: 6 additions & 5 deletions man/termtosvg.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
**termtosvg render** *input_file* [output_path] [-D DELAY] [-m MIN_DURATION] [-M MAX_DURATION] [-s] [-t TEMPLATE] [-h]

### DESCRIPTION
termtosvg makes recordings of terminal sessions in animated SVG format. If no output
filename is provided, a random temporary filename will be automatically generated.
termtosvg makes recordings of terminal sessions in animated SVG format.

#### COMMANDS
The default behavior of termtosvg is to render an SVG animation of a shell session
The default behavior of termtosvg is to render an SVG animation of a shell
session. If no output filename is provided, a random temporary filename will
be automatically generated.

##### termtosvg record
Record a terminal session in asciicast v2 format. The recording is a text file which
Expand All @@ -30,7 +31,7 @@ is also possible.
## OPTIONS

#### -c, --command=COMMAND
specify the program to record with optional arguments. COMMAND must be a string listing the
Specify the program to record with optional arguments. COMMAND must be a string listing the
program to execute together will all arguments to be made available to the program. For example
`--command='python -h'` would make termtosvg record the usage of the Python interpreter. If this
option is not set, termtosvg will record the program specified by the $SHELL environment variable
Expand All @@ -40,7 +41,7 @@ or `/bin/sh`.
Duration of the delay between two consecutive loops of the animation in milliseconds.

##### -g, --screen-geometry=GEOMETRY
geometry of the terminal screen used for rendering the animation. The geometry must
Geometry of the terminal screen used for rendering the animation. The geometry must
be given as the number of columns and the number of rows on the screen separated by
the character "x". For example "82x19" for an 82 columns by 19 rows screen.

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='termtosvg',
version='0.9.0rc0',
version='0.9.0',
license='BSD 3-clause license',
author='Nicolas Bedos',
author_email='[email protected]',
Expand Down
10 changes: 4 additions & 6 deletions termtosvg/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,8 @@ def parse(args, templates, default_template, default_geometry, default_min_dur,

parser = argparse.ArgumentParser(
prog='termtosvg',
parents=[command_parser, geometry_parser, min_duration_parser,
max_duration_parser, still_frames_parser, template_parser,
loop_delay_parser],
parents=[command_parser, loop_delay_parser, geometry_parser, min_duration_parser,
max_duration_parser, still_frames_parser, template_parser],
usage=USAGE,
epilog=EPILOG
)
Expand Down Expand Up @@ -164,9 +163,8 @@ def parse(args, templates, default_template, default_geometry, default_min_dur,
if args[0] == 'render':
parser = argparse.ArgumentParser(
description='render an asciicast recording as an SVG animation',
parents=[template_parser, min_duration_parser,
max_duration_parser, still_frames_parser,
loop_delay_parser],
parents=[loop_delay_parser, min_duration_parser,
max_duration_parser, still_frames_parser, template_parser],
usage=RENDER_USAGE
)
parser.add_argument(
Expand Down

0 comments on commit e107277

Please sign in to comment.