Skip to content

Commit

Permalink
Merge pull request #2 from Diapolo10/nightly
Browse files Browse the repository at this point in the history
[PATCH] Fixed a mistake in README example code
  • Loading branch information
Diapolo10 authored Dec 1, 2021
2 parents fc9155c + 543621f commit d1d44ef
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 5 deletions.
25 changes: 22 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# IPlib3 Change Log
# Escapyde Change Log

All notable changes to this project will be documented in this file.

Expand Down Expand Up @@ -50,7 +50,7 @@ Lorem Ipsum dolor sit amet.
<!--
_______________________________________________________________________________
## [0.2.3] - YYYY-MM-DD
## [0.1.1] - YYYY-MM-DD
First official documentation.
Expand All @@ -68,7 +68,26 @@ First official documentation.

_______________________________________________________________________________

## [0.1.0] - 2021-05-01
## [0.1.1] - 2021-12-01

A hotfix release that fixes a problem in the README example code, and adds a screenshot of the code running.

### Added

- Added a screenshot of the example code running in IPython

### Changed

- Updated the localisation files

### Fixed

- Fixed a mistake in the `README.md` example code related to string formatters
- Fixed the package name in `CHANGELOG.md`

_______________________________________________________________________________

## [0.1.0] - 2021-12-01

This is the beginning of the changelog. Previously made commits have not been
tracked, and there are no plans to distinguish them. You may consider this
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ from escapyde.examples.text import SKULL

some_text = "Hello, world!"

print(f"I want to print this red: {escapyde.FRED | some_text:r}, and this yellow: {escapyde.FYELLOW | 'Hi!'}.")
print(f"I want to print this red: {escapyde.FRED | some_text}, and this yellow: {escapyde.FYELLOW | 'Hi!'}.")

print(f"Here's a cyan skull:\n{escapyde.FCYAN | SKULL}")
```

As can be seen, the example works perfectly fine:

![A screenshot of the example run on IPython on Windows.](./docs/readme_screenshot.png "Not bad, not bad at all.")
Binary file added docs/readme_screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ __init__.py:F401,F403,F405\

[tool.poetry]
name = 'escapyde'
version = '0.1.0'
version = '0.1.1'
description = "Yet another ANSI escape sequence library for Python - now modernised!"

authors = ["Lari Liuhamo <[email protected]>",]
Expand Down

0 comments on commit d1d44ef

Please sign in to comment.