Delimit URIs for better terminal support
RFC3986 defines a way to delimit a URI.
Poezio should implement this to help terminal in recognizing URIs.
Implementation wise, it can already use help from different sources, like XHTML-IM, OOB, etc.
<> can also be styled to appear slightly transparent maybe? so they don't disrupt the reading.
- Should we try to incentivize users not to use <> themselves, but instead of whatever control sequence that would make poezio send xhtml-im instead, (or whatever more appropriate, if there is).
- Should we recognize
<foobar:>as a URI in the input? This would help 1.
- Should we do URI detection ourselves to add xhtml-im tags?
Note: I like this, but I think this is a slippery slope and should be implemented with extra care. I already hate myself for suggesting it as I see people including it themselves in
<body/> because of (other) clients lacking support.