mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Support for blinking text and blinking cursor. Won't actually be
accessible until there's a way to configure it on, but it worked in tests. [originally from svn r2067]
This commit is contained in:
parent
69f78385ab
commit
6f9ce1b724
@ -799,6 +799,7 @@ gint timer_func(gpointer data)
|
||||
}
|
||||
|
||||
term_update();
|
||||
term_blink(0);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@ -825,6 +826,7 @@ void pty_input_func(gpointer data, gint sourcefd, GdkInputCondition condition)
|
||||
}
|
||||
if (ret > 0)
|
||||
from_backend(0, buf, ret);
|
||||
term_blink(1);
|
||||
term_out();
|
||||
}
|
||||
|
||||
|
@ -25,7 +25,7 @@ extern Backend pty_backend;
|
||||
unsigned long getticks(void); /* based on gettimeofday(2) */
|
||||
#define GETTICKCOUNT getticks
|
||||
#define TICKSPERSEC 1000000 /* gettimeofday returns microseconds */
|
||||
#define CURSORBLINK 400000 /* FIXME: need right way to do this */
|
||||
#define CURSORBLINK 450000 /* no standard way to set this */
|
||||
|
||||
#define WCHAR wchar_t
|
||||
#define BYTE unsigned char
|
||||
|
Loading…
Reference in New Issue
Block a user