def end_field
import cswap-bend-cli@0.1.0.0/fmt/csv.bend as Csvimport Base
76# The field in progress ends; the next field starts in `m`.
77def end_field(+st: St, m: Mode) -> St:
78 match st:
79 case St{rows, row, cur, mode, err}:
80 St{rows, String.reverse(cur) <> row, "", m, err}