c-blake / cligen

Nim library to infer/generate command-line-interfaces / option / argument parsing; Docs at
https://c-blake.github.io/cligen/
ISC License
501 stars 23 forks source link

Strip OSC codes #171

Closed SolitudeSF closed 3 years ago

SolitudeSF commented 3 years ago

also strip osc codes. required for https://github.com/c-blake/lc/pull/2 now the name of the procedure doesn't reflect its behavior exactly. should i rename?

c-blake commented 3 years ago

I don't think you really need to rename. If you did then stripEsc might be best for some generalized all escape sequence idea, but we would need some deprecated alias for stripSGR for a while.

c-blake commented 3 years ago

I went ahead and de-deprecated that. Probably no need to annoy people with the rename as most present uses probably don't have OSC codes to remove.