Skip to content

Commit 3f66253

Browse files
authored
Merge pull request #22 from willmcgugan/terminal-width
Terminal width
2 parents 6b088ea + 9585a66 commit 3f66253

18 files changed

+789
-60
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
mypy_report
55
docs/build
66
docs/source/_build
7+
tools/*.txt
78

89
# Byte-compiled / optimized / DLL files
910
__pycache__/

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.8.0] - 2020-03-17
9+
10+
### Added
11+
12+
- CJK support
13+
- Console level highlight flag
14+
- Added encoding argument to Syntax.from_path
15+
16+
### Changed
17+
18+
- Dropped support for Windows command prompt (try https://www.microsoft.com/en-gb/p/windows-terminal-preview/)
19+
- Added task_id to Progress.track
20+
821
## [0.7.2] - 2020-03-15
922

1023
### Fixed

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "rich"
33
homepage = "https://github.com/willmcgugan/rich"
44
documentation = "https://rich.readthedocs.io/en/latest/"
5-
version = "0.7.2"
5+
version = "0.8.0-alpha.1"
66
description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal"
77
authors = ["Will McGugan <willmcgugan@gmail.com>"]
88
license = "MIT"
@@ -25,7 +25,6 @@ python = "^3.6"
2525
pprintpp = "^0.4.0"
2626
typing-extensions = "^3.7.4"
2727
dataclasses = {version="^0.7", python = "~3.6"}
28-
colorama = "^0.4.3"
2928
pygments = "^2.5.0"
3029
commonmark = "^0.9.0"
3130

rich/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from colorama import init
2-
31
from typing import Any, IO, Optional, TYPE_CHECKING
42

53
if TYPE_CHECKING:
@@ -22,7 +20,5 @@ def print(
2220
return write_console.print(*objects, sep=sep, end=end)
2321

2422

25-
init()
26-
2723
if __name__ == "__main__": # pragma: no cover
2824
print("Hello, **World**")

0 commit comments

Comments
 (0)