Skip to content

fix(deps): update rust crate vt100 to 0.18.0 - #490

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/vt100-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/vt100-0.x

Conversation

@renovate

@renovate renovate Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
vt100 dependencies minor 0.16.2 β†’ 0.18.0

Release Notes

doy/vt100-rust (vt100)

v0.18.1

Compare Source

Fixed
  • actually release the intended changes that were supposed to be in 0.18.0

v0.18.0

Compare Source

Added
  • Screen::contents_formatted_basic, which is like
    Screen::contents_formatted, but restricts escape sequences to SGR escapes
    only, and control characters to '\n'.
  • Screen::write_contents_formatted_basic, like
    Screen::contents_formatted_basic but writes to any type implementing
    std::fmt::Write instead of returning a String.
  • Callbacks::on_scroll, called when a row scrolls off the top of the
    scrollback. 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_ROWS and Parser::DEFAULT_COLS, set to 24 and 80 (the
    same already used by Parser::default). These have type NonZeroU16.
  • Parser::set_size, which is like Screen::set_size but calls the
    on_scroll callback when a row is pushed off the top of scrollback (which
    is now possible due to the other set_size changes).
  • Parser::screen_and_callbacks_mut, which returns mutable references to
    both the screen and callbacks object at once. This was not possible with
    the existing methods.
  • capture::basic_formatted_to_plain, which converts a basic formatted
    capture (as returned by Screen::contents_formatted_basic) into a plain
    text one without allocating.
  • capture::basic_formatted_rows, which splits a basic formatted capture
    into individual rows without allocating.
  • capture::basic_formatted_to_plain_indexed, which is like
    capture::basic_formatted_to_plain, but also includes the original index
    of each plain text substring.
Changed
  • Bumped MSRV to 1.85 and edition to 2024

  • Parser::new and Screen::set_size now take NonZeroU16s instead of
    u16s. Passing 0 for rows or cols was not supported and resulted in
    panics. Additionally, Screen::size now returns NonZeroU16s.

  • The following methods of Screen now return/yield strings rather than byte vectors:

    • attributes_formatted
    • contents_diff
    • contents_formatted
    • cursor_state_formatted
    • input_mode_diff
    • input_mode_formatted
    • rows_diff
    • rows_formatted
    • state_diff
    • state_formatted

    The byte vectors were already always UTF-8.

  • Screen::set_size resets the scroll region and scrollback offset when the
    size changes, matching the behavior of xterm.

  • Screen::set_size has 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_size discards rows from the bottom
    only 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_size pulls rows from scrollback into
    the 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
  • Fixed no_std support which was inadvertently broken in 0.17.0
  • Changed handling of IL and DL sequences when the cursor is outside the
    scroll region. These operations are now no-ops in that case, which is the
    spec-compliant behavior.
  • Fixed issue where one-row scroll regions could cause unrelated rows to be
    marked as wrapped or not wrapped.
  • Improved the performance of various operations, especially escape sequences
    that insert/delete multiple rows or characters.
  • Screen::set_size only clears each row's wrapped when the screen width
    changes. Previously, it would unconditionally clear that flag.

v0.17.0

Compare Source

Added
  • Support for DECSCUSR (set cursor style) (#​21, reuben olinsky)
  • Support for HPA (horizontal position absolute) and REP (repeat last printed
    character) (#​23, KacperLa)
  • no_std and embedded-io support (#​25, Chris Pacejo)
  • Screen::scrollback_len (#​27, Erick Tryzelaar)
  • Support for HVP (horizontal and vertical position) (#​34, rezigned)
  • Support for clearing scrollback with Screen::clear_scrollback and
    CSI 3 J (#​31, Alexey Zhokhov)
  • Support for VS16 emoji-presentation sequences (#​32, Junyi Hou)
Fixed
  • Various bugs with oddly-sized terminals (#​29, Evan Almloff) (#​30, Junyi
    Hou) (#​41, taylor.fish)
  • Scrollback now accumulates when a scroll region is active as long as the
    top of the scroll region is the top of the terminal (#​33, L-jasmine)

Configuration

πŸ“… Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/vt100-0.x branch from bef8060 to ea7e92f Compare October 19, 2026 04:44
@renovate renovate Bot changed the title fix(deps): update rust crate vt100 to 0.17.0 fix(deps): update rust crate vt100 to 0.18.0 Oct 19, 2026
@renovate
renovate Bot force-pushed the renovate/vt100-0.x branch 2 times, most recently from 495e2b3 to a1f4a48 Compare October 20, 2026 08:41
@renovate
renovate Bot force-pushed the renovate/vt100-0.x branch from a1f4a48 to 87aaae2 Compare October 26, 2026 17:55
@renovate
renovate Bot force-pushed the renovate/vt100-0.x branch from 87aaae2 to 00478a4 Compare October 28, 2026 07:35

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants