Is it possible to display text in a console with a strike-through effect?
问题 I have already looked into ANSI escape codes, but it looks like only underlining is supported. Do I miss something or is there another option? If it is not possible, is there something equivalent in the meaning of "this is deprecated"? 回答1: According to the ECMA-48 standard for terminals, SGR (Select Graphic Rendition) code number 9 is supposed to enable crossed-out text. However, the ANSI escape code wikipedia page says that it's not widely supported, and I'm not aware of any that do. I'd