Fix terminal code cleaning in log output #160

Closed
opened 2024-03-19 05:54:14 +00:00 by jade · 1 comment
Owner

Specifically links to URLs get mangled, like in the output of modern GCC, because we are using a jacked regex.

I have dug out of the archive:

cc @rbt @puck

Specifically links to URLs get mangled, like in the output of modern GCC, because we are using a jacked regex. I have dug out of the archive: - https://github.com/asciinema/avt/blob/main/src/parser.rs - or reuse the terminal code eater that was implemented for literate repl tests, and just make it able to un-eat certain terminal escapes cc @rbt @puck
jade added this to the Broken regexes project 2024-06-24 23:47:42 +00:00
Member

This issue was mentioned on Gerrit on the following CLs:

  • comment in cl/3143 ("libutil: handle OSC escapes in filterANSIEscapes()")
  • commit message in cl/3143 ("libutil: handle OSC escapes in filterANSIEscapes()")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/3143", "number": 3143, "kind": "comment"}, {"backlink": "https://gerrit.lix.systems/c/lix/+/3143", "number": 3143, "kind": "commit message"}], "cl_meta": {"3143": {"change_title": "libutil: handle OSC escapes in filterANSIEscapes()"}}} --> This issue was mentioned on Gerrit on the following CLs: * comment in [cl/3143](https://gerrit.lix.systems/c/lix/+/3143) ("libutil: handle OSC escapes in filterANSIEscapes()") * commit message in [cl/3143](https://gerrit.lix.systems/c/lix/+/3143) ("libutil: handle OSC escapes in filterANSIEscapes()")
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#160
No description provided.