[Top][All Lists]

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

Re: Probably a bug in ncurses or something users should know

From: Timothy Allen
Subject: Re: Probably a bug in ncurses or something users should know
Date: Mon, 23 Sep 2019 12:26:36 +1000
User-agent: Evolution 3.32.2-1

On Sun, 2019-09-22 at 19:11 +0200, Jérémie Lefrancois wrote:
> My concern is that it seems the problem is on the LASTEST version of
> ncurses.. so I might get the bug one day on correnlty ubuntu
> configuration...

Given that the misalignment seems to be in fractions of a character-
width, I'm guessing this has nothing to do with Python or ncurses, but
rather the terminal you're using, and the font it's using to draw text
to the screen. It's like the "mid dot" character you're using to fill
in the maze is not available in the font you're using, so the terminal
grabs that character from another, similar font, but the other font is
just a pixel wider, and so the total width of the line changes
depending on how many "mid dot" characters appear.

Try changing the "mid dot" character to an ordinary period (.) and see
if the layout changes. Also, try using different terminal emulators,
like xterm and rxvt, and see if they lay out the text differently.

reply via email to

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