Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #36433 [Console] cursor tweaks (fabpot)
This PR was squashed before being merged into the 5.1-dev branch. Discussion ---------- [Console] cursor tweaks | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | Refs #27444 | License | MIT | Doc PR | n/a While playing with the new cursor class, I realized that I would like to make some changes. Mainly having a fluent interface: `$cursor->moveUp(10)->clearOutput()` for instance. I have also separater the `clearLine()` method in two method to avoid the bool arg. /cc @pierredup Commits ------- 5a7b314 Make the Cursor class final b0e7eb6 Make Cursor fluent 55fef91 Split a method d00b5b5 Remove default value
- Loading branch information
Showing
2 changed files
with
54 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters