Skip to content

Commit 2c2e7bc

Browse files
committed
progress bar bug
1 parent 9ce8b73 commit 2c2e7bc

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ 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+
## [1.1.3] - 2020-05-15
9+
10+
### Fixed
11+
12+
- Issue with progress of one line`
13+
814
## [1.1.2] - 2020-05-14
915

1016
### Added

pyproject.toml

Lines changed: 1 addition & 1 deletion
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 = "1.1.2"
5+
version = "1.1.3"
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"

rich/live_render.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def position_cursor(self) -> Control:
2727
if height > 1:
2828
return Control(f"\r\x1b[{height - 1}A\x1b[2K")
2929
else:
30-
return Control("\r")
30+
return Control("\r\x1b[2K")
3131
return Control("")
3232

3333
def __console__(self, console: Console, options: ConsoleOptions) -> RenderResult:

0 commit comments

Comments
 (0)