bug-ncurses
[Top][All Lists]
Advanced

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

Problem with multiple characters displayed as one


From: Jeremy Hall
Subject: Problem with multiple characters displayed as one
Date: Fri, 17 Aug 2018 09:47:09 +0100

Hi,
I upgraded to Ubuntu 18.04 recently on aarch64 (Odroid-C2).

Now I find that if I print a sequence of 7 or more identical characters with addstr() (or addchnstr()) they are compressed to single character.
The ncurses version is 6.1
This little program demonstrates the problem:

#include <ncurses.h>

int
main()
{
  initscr();
  raw();
  nonl();
  noecho();

  move( 10, 0 );
  addstr( "The following line with 6 'x's displays correctly" );
  move( 11, 0 );
  addstr( "xxxxxx" );

  move( 14, 0 );
  addstr( "This line with 7 'x's does not (it will show a single 'x')" );
  move( 15, 0 );
  addstr( "x" );

  move( 17, 0 );
  addstr( "Press any key to quit:" );
  getch();
  endwin();
}

Can anyone help?

reply via email to

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