Skip to content

Commit faa5f8b

Browse files
committed
leave a note-to-self
1 parent 3f48fe6 commit faa5f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cascadia/TerminalSettingsEditor/PreviewConnection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ static constexpr std::u8string_view PreviewText{
2020
u8"\x1b[36m@@ -1 +1 @@\x1b[m\r\n"
2121
u8"\x1b[31m- Windows Console\x1b[m\r\n"
2222
u8"\x1b[32m+ Windows Terminal!\x1b[m\r\n"
23-
u8"{0}\x1b[93mWrite-Host \x1b[36m\"\xd83c\xdf2f!\"\x1b[1D\x1b[m"
23+
u8"{0}\x1b[93mWrite-Host \x1b[36m\"\xd83c\xdf2f!\"\x1b[1D\x1b[m" // this is broken due to u8string - you cannot use surrogate pairs there (!)
2424
};
2525
// clang-format on
2626

0 commit comments

Comments
 (0)