curses.A_UNDERLINE doesn't render an underline #17672

Open
opened 2026-01-31 05:49:46 +00:00 by claunia · 0 comments
Owner

Originally created by @Utshaan on GitHub (Jun 10, 2022).

Windows Terminal version

1.13.11432.0

Windows build number

10.0.25131.1000

Other Software

windows-curses 2.3.0

Steps to reproduce

Run the following code using Python 3.10.4

import curses
from curses import wrapper


def main(stdscr):
    stdscr.clear()

    stdscr.addstr("Text 2" , curses.A_UNDERLINE)

    stdscr.refresh()
    stdscr.getch()

wrapper(main)

Expected Behavior

image

Actual Behavior

image

Originally created by @Utshaan on GitHub (Jun 10, 2022). ### Windows Terminal version 1.13.11432.0 ### Windows build number 10.0.25131.1000 ### Other Software windows-curses 2.3.0 ### Steps to reproduce Run the following code using Python 3.10.4 ``` import curses from curses import wrapper def main(stdscr): stdscr.clear() stdscr.addstr("Text 2" , curses.A_UNDERLINE) stdscr.refresh() stdscr.getch() wrapper(main) ``` ### Expected Behavior ![image](https://user-images.githubusercontent.com/69788046/173090977-5d7408b7-1122-4ffc-8420-fad02afdf60f.png) ### Actual Behavior ![image](https://user-images.githubusercontent.com/69788046/173091097-de358657-60d6-4042-a6f6-bae990bdae40.png)
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 05:49:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17672