- Subject: Re: How to Hide the cursor from screen with SLsmg functions....
 
- From: "John E. Davis" <davis>
 
- Date: Wed, 15 Dec 1999 15:05:21 -0500
 
Vanishree Sabapathi <Vanishrees@xxxxxxx> wrote:
>The subject title covers my question... it would be helpful if someone could
>shed some light on it...
Use the SLtt_set_cursor_visibility function, e.g.,
   void cursor_on ()
   {
      (void) SLtt_set_cursor_visibility (1);
      SLtt_flush_output ();
   }
   void cursor_off ()
   {
      (void) SLtt_set_cursor_visibility (0);
      SLtt_flush_output ();
   }
Keep in mind that not all terminals have this capability, and the
SLtt_set_cursor_visibility has no effect on DOS/Windows/OS2 systems.
I never found time to look into how to do this on those systems.
--John
  [1999 date index]
  [1999 thread index]
  
  [Thread Prev] [Thread Next]
      
  [Date Prev] [Date Next]