devmouse: default to no blanking instead of 30 minute blank timeout

This commit is contained in:
cinap_lenrek 2021-07-01 23:11:11 +00:00
parent 2929a3bf67
commit c848ca6267
2 changed files with 6 additions and 4 deletions

View file

@ -156,15 +156,17 @@ to its default state.
.TP
.B blank
blanks the screen.
The screen also blanks after 30 minutes of inactivity.
The screen also blanks after
.I blanktime
minutes of inactivity.
The screen can be unblanked by moving the mouse.
.TP
.BI blanktime " minutes"
sets the timeout before the
screen blanks; the default is 30 minutes.
screen blanks.
If
.I minutes
is zero, blanking is disabled.
is zero, blanking is disabled (this is the default).
.TP
.B twitch
unblanks the screen and resets the idle timeout as if the

View file

@ -98,7 +98,7 @@ static uchar buttonmap[8] = {
static int mouseswap;
static int scrollswap;
static ulong mousetime;
static ulong blanktime = 30; /* in minutes; a half hour */
static ulong blanktime;
extern Memimage* gscreen;