From 92de36bc06321febb0bd2df57c20344e5d3e83bb Mon Sep 17 00:00:00 2001 From: dimitriskres Date: Thu, 23 Oct 2025 17:06:27 +0300 Subject: [PATCH] Changed CHANGELOG and CONTRIBUTORS. --- CHANGELOG.md | 12 ++++++++++++ CONTRIBUTORS.md | 1 + 2 files changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5320566..4251130f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Fixed + +- Added `CURSOR_PREV_LINE` (`\e[nF`) and `CURSOR_PREV_LINE` (`\e[nG`) to `ControlType`. +- Changed `Console.render_lines` to include `ControlType.ERASE_IN_LINE` at the end of each line. +- Changed `Console.render_lines` to include a `ControlType.CLEAR` sequence at the end of the last line, if present. +- Changed `LiveRender.position_cursor`'s cursor-moving logic and removed line clearing from there. + + +To achieve this, I had to introduce `\e[nF` (move to the start of n lines up) in `ControlType` and I also included the not-used `\e[nG` (move to the start of n lines down) for completeness. I also had to modify `ControlType.CLEAR` to accept a parameter and backfixed any cases where it was already used. + ## [14.2.0] - 2025-10-09 ### Changed diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 4b04786b..84365203 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -94,3 +94,4 @@ The following people have contributed to the development of Rich: - [Jonathan Helmus](https://github.com/jjhelmus) - [Brandon Capener](https://github.com/bcapener) - [Alex Zheng](https://github.com/alexzheng111) +- [Dimitris Krestos](https://github.com/dimitriskres) \ No newline at end of file