slang-users mailing list

[1999 Date Index] [1999 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: How to Hide the cursor from screen with SLsmg functions....


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]