Support tabs in the file viewer text view.

This commit is contained in:
dg
2022-11-27 22:24:30 +00:00
parent 7dd1b6d8e9
commit dfda8be30c

View File

@@ -31,7 +31,7 @@ FileViewerWindow::FileViewerWindow(
continue;
}
if ((c == '\n') || ((c >= 32) && (c <= 126)))
if ((c == '\n') || (c == '\t') || ((c >= 32) && (c <= 126)))
ss << (char)c;
else if (c == '\r')
ss << '\n';