Right now, reading /etc/issue interprets some of the replacements that getty does, but ignores ANSI color escape sequences that some people uses to beautify the output.
This is an attempt at taking them into account to, in the best case, add the colors to tuigreet, or remove them if we can't manage to do it nicely.
Paragraph wrapping and height detection will have to be refactored (since we cannot rely on the number of characters and lines anymore).
Right now, reading
/etc/issue
interprets some of the replacements thatgetty
does, but ignores ANSI color escape sequences that some people uses to beautify the output.This is an attempt at taking them into account to, in the best case, add the colors to
tuigreet
, or remove them if we can't manage to do it nicely.Paragraph wrapping and height detection will have to be refactored (since we cannot rely on the number of characters and lines anymore).