🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #283

Re: Moving the cursor

#283
From: Thierry Lach
Date: Mon, 06 Apr 1992 22:42
17 lines
1138 bytes
sfd@bezier.berkeley.edu (Scott Drellishak) writes:

> I'm using the curses library in a project, and have the following
> question: How can I move the cursor into the corner of the screen (out
> of the way) after a refresh?  I've tried using the mvcur() function,
> but this only confuses the rest of curses, and messes up the next
> refresh.  The documentation I have is woefully sucky.  Either pointers
> to better docs or specific solutions are greatly appreciated.
> 
> Scott

Tell the window   "leaveok(window,FALSE)", then use
"wmove(window,y,x)" followed by "wrefresh(window)".  That works
for me...

Thierry Lach				UUCP: sharkey!sycom!curlie!thierry
My opinions are mine and mine alone.
Technical Details
Message-ID: <4kZTiB1w164w@curlie.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!mips!news.cs.indiana.edu!lynx!fmsrl7!cfctech!teemc!sycom!curlie!thierry
References: <SFD.92Apr4232609@bezier.bezier.berkeley.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!mips!news.cs.indiana.edu!lynx!fmsrl7!cfctech!teemc!sycom!curlie!thierry
From: thierry@curlie.UUCP (Thierry Lach   )
Newsgroups: comp.unix.programmer,comp.unix.questions
Subject: Re: Moving the cursor
Message-ID: <4kZTiB1w164w@curlie.UUCP>
Date: 6 Apr 92 22:42:14 GMT
References: <SFD.92Apr4232609@bezier.bezier.berkeley.edu>
Organization: Not An Organization
Lines: 17