[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mvwchgat breaks ACS chars

From: Pavel Stehule
Subject: mvwchgat breaks ACS chars
Date: Fri, 13 Jul 2018 12:17:50 +0200


I am working on library https://github.com/okbob/ncurses-st-menu, where I try to implement shadow under a window. I use mvwchgat function for colour changes. Yesterday I found a issue. This function doesn't works with chars passed by ACS_xx macros. The unicode chars has not this problem.

When I apply mvwchgat on hline, then result is 'x' char.

I wrote test case - see a attachment, please.

I have ncurses 6.1 patch patch: 20180224

Is it bug? Is there some alternative solution, how to change colours and attributes on specified positions?

Best regards

Pavel Stehule

Attachment: demo-bug.c
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]