bug-ncurses
[Top][All Lists]
Advanced

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

Re: Bug report pertaining to printing wide characters


From: Thomas Dickey
Subject: Re: Bug report pertaining to printing wide characters
Date: Sun, 24 Feb 2019 20:41:07 -0500
User-agent: Mutt/1.5.23 (2014-03-12)

On Sun, Feb 24, 2019 at 02:23:40PM -0500, Ampera wrote:
> Bug occurs when printing individual characters using the function
> mvaddwstr. The full details are displayed in this SO post:
> https://stackoverflow.com/questions/54795303/ncurses-freaks-out-when-writing-wide-character-to-certain-screen-locations

There's missing information:

        a) the sample code is incomplete
        b) the actual version of ncurses isn't given
        c) the locale settings aren't given

What I'm looking for is a way to reproduce the problem that you're seeing.

        https://stackoverflow.com/help/mcve

> Additional potentially useful information (to be thorough). Program was
> compiled using the latest or near latest G++ (GCC) offered by the Arch

gcc version is probably irrelevant.

> Linux repos on Arch Linux. C++ was used when compiling. This bug occurs on
> the terminals xterm, urxvt, Alacritty, and MATE-Terminal.
> 
> The bug seems to not be related to terminal capabilities, as even on xterm
> which has no wide character/unicode support, the bad character printing can
> still be seen. A comment said it might have something to do with some
> character repeat control character, but I'd not have much insight into that.
> 
> Only other information I can think that could be important is the
> supporting code, in which I used the following function calls:
> 
> initscr(), setlocale(LC_ALL, ""), raw(), keypad(stdscr, TRUE), noecho(),
> and nodelay(stdscr, TRUE). The effect does not change if colour is
> enabled/disabled, or if I refrain from assigning attributes (colour or
> otherwise).

-- 
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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