xbbdbd·11 месяцев назад·discussThis is the problem with people trying to be clever. Now you output escape sequences regardless of terminal setting.Using a library which handles that (an a thousand other quirks) makes much more sense