truncateLeftAnsiByCells function

String truncateLeftAnsiByCells(
  1. String s,
  2. int start
)

Truncates an ANSI string from the left by visible cell indices.

Implementation

String truncateLeftAnsiByCells(String s, int start) =>
    _truncateLeftAnsiByCells(s, start);