www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/24/18:50:40

From: Adrien Hernot <hernot AT obspm DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: pdcurses question
Date: Thu, 24 Apr 1997 16:06:24 +0200
Organization: Universite Paris-Sud, France.
Lines: 18
Message-ID: <335F68E0.41C67EA6@obspm.fr>
References: <GoldED DOT 199704191119502300 DOT enlar AT arrakis DOT es>
NNTP-Posting-Host: gin.obspm.fr
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eneko Lacunza wrote:
> 
> Hello All!
>
>     I'm trying to write some 8-bit >127 characters with the addch function
> of PDCurses... but although I don't say to, the character appears blinking,
> bold, and with all other attributes set. It simply ignores the current attributes.
> If I use addstr, all goes fine, but I what I want to do is write a LOT of chars
> separately, so I need addch or a function like it.

Ok, I am just begining with curses. But before writing to a window, you
must 
set the current attributes (colors bg/fg, blinking, highlight ...) via
function
attrset(), attron() and attroff(). 
What versions of PDCurses do you use ? I think the latest is 2.2.

Adrien

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019