1
0
Fork 0

- [gopher] removed bad characters when printing lines.

This commit is contained in:
cage 2022-09-25 10:58:38 +02:00
parent 3ebc7bd1bf
commit a949afb38e
1 changed files with 2 additions and 1 deletions

View File

@ -92,7 +92,8 @@
(defun %gemline->text-simple (line prefix)
(let* ((prefix-color (swconf:config-gopher-line-prefix-foreground))
(prefix-attribute (swconf:config-gopher-line-prefix-attribute))
(colorized (message-window::colorize-lines (gopher-parser:username line)))
(username (remove-corrupting-utf8-chars (gopher-parser:username line)))
(colorized (message-window::colorize-lines username))
(colorized-prefix (tui:make-tui-string prefix
:attributes prefix-attribute
:fgcolor prefix-color)))