In article 
<333516696.258760.1480351647180.javamail.ngm...@webmail11.arcor-online.net>,
Carsten Kunze  <[email protected]> wrote:
>Hello,
>
>addstr() does ignore tab characters but printw() doesn't.  For both
>functions I would expect that they output tabs as such.  A small example
>source code is:
>
>$ cat main.c                                                            
>
>#include <curses.h>
>
>int
>main()
>{
>        initscr();
>        addstr("add\tstr\n");
>        printw("print\tw\n");
>        refresh();
>        getch();
>        endwin();
>        return 0;
>}
>
>When compiled and started with
>
>$ cc main.c -lcurses                                                    
>
>$ ./a.out
>
>only printw() outputs the tab.  The '\n' is output by both functions.

Fixed, thanks.

christos

Reply via email to