parser parameter collection boundary value problem
(Just filing for a record of the problem; will immediately close.)
There was a problem in collect1() when the passed max_v was less than min_v (this happens e.g. in ICH if the cursor is in autowrap position, i.e. m_column_count). This caused an exception in std::clamp(); fixed by reverting the use of std::clamp().
The previously used formula resulted in the returned value being max_v in this exceptional case, whereas I think the right result is min_v (so e.g. ICH always does insert at least 1 character). This was also fixed on master by switching the order of std::min and std::max.