Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add utility function ansi::slice_ansi_str #206

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Feb 7, 2024

  1. Add new function ansi::slice_ansi_str

    I also took my chance and suggested an non-allocating version of
    measure_text_width.
    remi-dupre committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    047fea2 View commit details
    Browse the repository at this point in the history
  2. Fix clippy lints

    remi-dupre committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    cd1a6b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ce77cc5 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. More verbose but more readable implementation of slice_str

    This new implementation also has the benefit of allocating at most once.
    remi-dupre committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    7c68426 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2024

  1. Remove rust >1.56 syntax

    remi-dupre committed Feb 10, 2024
    Configuration menu
    Copy the full SHA
    07a96f4 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. Configuration menu
    Copy the full SHA
    51e4d4f View commit details
    Browse the repository at this point in the history