Repository navigation
fix(deps): update rust crate vt100 to 0.18.0 - #490
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/vt100-0.x
branch
from
October 19, 2026 04:44
bef8060 to
ea7e92f
Compare
renovate
Bot
force-pushed
the
renovate/vt100-0.x
branch
2 times, most recently
from
October 20, 2026 08:41
495e2b3 to
a1f4a48
Compare
renovate
Bot
force-pushed
the
renovate/vt100-0.x
branch
from
October 26, 2026 17:55
a1f4a48 to
87aaae2
Compare
renovate
Bot
force-pushed
the
renovate/vt100-0.x
branch
from
October 28, 2026 07:35
87aaae2 to
00478a4
Compare
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.16.2β0.18.0Release Notes
doy/vt100-rust (vt100)
v0.18.1Compare Source
Fixed
v0.18.0Compare Source
Added
Screen::contents_formatted_basic, which is likeScreen::contents_formatted, but restricts escape sequences to SGR escapesonly, and control characters to
'\n'.Screen::write_contents_formatted_basic, likeScreen::contents_formatted_basicbut writes to any type implementingstd::fmt::Writeinstead of returning aString.Callbacks::on_scroll, called when a row scrolls off the top of thescrollback. This enables capturing terminal output in a streaming fashion.
Currently this can only be used to obtain the row contents in the "basic
formatted" style (the same returned by
Screen::contents_formatted_basic).Parser::DEFAULT_ROWSandParser::DEFAULT_COLS, set to 24 and 80 (thesame already used by
Parser::default). These have typeNonZeroU16.Parser::set_size, which is likeScreen::set_sizebut calls theon_scrollcallback when a row is pushed off the top of scrollback (whichis now possible due to the other
set_sizechanges).Parser::screen_and_callbacks_mut, which returns mutable references toboth the screen and callbacks object at once. This was not possible with
the existing methods.
capture::basic_formatted_to_plain, which converts a basic formattedcapture (as returned by
Screen::contents_formatted_basic) into a plaintext one without allocating.
capture::basic_formatted_rows, which splits a basic formatted captureinto individual rows without allocating.
capture::basic_formatted_to_plain_indexed, which is likecapture::basic_formatted_to_plain, but also includes the original indexof each plain text substring.
Changed
Bumped MSRV to 1.85 and edition to 2024
Parser::newandScreen::set_sizenow takeNonZeroU16s instead ofu16s. Passing 0 forrowsorcolswas not supported and resulted inpanics. Additionally,
Screen::sizenow returnsNonZeroU16s.The following methods of Screen now return/yield strings rather than byte vectors:
The byte vectors were already always UTF-8.
Screen::set_sizeresets the scroll region and scrollback offset when thesize changes, matching the behavior of xterm.
Screen::set_sizehas different behavior when the screen height changes.Previously, it would discard rows from or add rows to the bottom as needed,
but this does not match most terminal emulators.
Now, when the height is decreased,
set_sizediscards rows from the bottomonly until the cursor is at the bottom. Then, it pushes excess rows from
the top of the screen into scrollback.
When the height is increased,
set_sizepulls rows from scrollback intothe top of the screen. If scrollback is exhausted and the new height hasn't
been reached yet, blank rows are added to the bottom.
Fixed
scroll region. These operations are now no-ops in that case, which is the
spec-compliant behavior.
marked as wrapped or not wrapped.
that insert/delete multiple rows or characters.
Screen::set_sizeonly clears each row'swrappedwhen the screen widthchanges. Previously, it would unconditionally clear that flag.
v0.17.0Compare Source
Added
character) (#β23, KacperLa)
Screen::scrollback_len(#β27, Erick Tryzelaar)Screen::clear_scrollbackandCSI 3 J(#β31, Alexey Zhokhov)Fixed
Hou) (#β41, taylor.fish)
top of the scroll region is the top of the terminal (#β33, L-jasmine)
Configuration
π Schedule: (UTC)
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.