We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
win11 + Windows terminal
import curses curses.setupterm() # error: python ./tmp.py' terminated by signal SIGSEGV (Address boundary error) # print(curses.initscr()) # print(curses.termname()) def get_tparm(key): val = None key = curses.tigetstr(key) if key: val = curses.tparm(key) if val: val = val.decode("utf-8") return val # expect: ('\x1b(B\x1b[m', '\x1b[1m', '\x1b[4m') # actual: (None, None, None) print((get_tparm("sgr0"), get_tparm("bold"), get_tparm("smul")))
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
win11 + Windows terminal
The text was updated successfully, but these errors were encountered: