-
-
Save Pokechu22/45d19aa5e41ee6db00723f808ac4339e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import curses | |
def main(stdscr): | |
stdscr.clear() | |
stdscr.addstr(4, 5, "Hi _ Hi") | |
msg = "Hi 🕴 Hi" | |
stdscr.addstr(5, 5, msg) | |
stdscr.refresh() | |
pos = str(curses.getsyx()) + " " + str(5 + len(msg)) | |
stdscr.addstr(10, 5, pos) | |
stdscr.refresh() | |
stdscr.getkey() | |
curses.wrapper(main) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment