@InvisibleOne thx! Can I use this? I'll credit you.
EDIT: Also, i came up with an improvement.
change this in line 19: print("> " + currentText),
to this: print(f">{currentText}")
and change this in line 24: print(">_ " + currentText)
into this print(f">{currentText}_")
Blinking underscore in Python
I want to make an input with a blinking underscore like this example (In Python 3.8.2):
And then the underscore goes away:
And back again:
How do i do it?
Well, you can do it, but I'm not sure if this is how you should really do it, as it's the jank way that I came up with...
https://replit.com/@InvisibleOne/LumpyFondSlope#main.py
@InvisibleOne thx! Can I use this? I'll credit you.
EDIT: Also, i came up with an improvement.
change this in line 19:
print("> " + currentText)
,to this:
print(f">{currentText}")
and change this in line 24:
print(">_ " + currentText)
into this
print(f">{currentText}_")
Yeah sure, you can definitely use it.
I've never been a fan of print(f) stuff, but I probably need to start using it lol. @LeSensei
@InvisibleOne thx