devmouse: default to no blanking instead of 30 minute blank timeout
This commit is contained in:
parent
2929a3bf67
commit
c848ca6267
2 changed files with 6 additions and 4 deletions
|
@ -156,15 +156,17 @@ to its default state.
|
||||||
.TP
|
.TP
|
||||||
.B blank
|
.B blank
|
||||||
blanks the screen.
|
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.
|
The screen can be unblanked by moving the mouse.
|
||||||
.TP
|
.TP
|
||||||
.BI blanktime " minutes"
|
.BI blanktime " minutes"
|
||||||
sets the timeout before the
|
sets the timeout before the
|
||||||
screen blanks; the default is 30 minutes.
|
screen blanks.
|
||||||
If
|
If
|
||||||
.I minutes
|
.I minutes
|
||||||
is zero, blanking is disabled.
|
is zero, blanking is disabled (this is the default).
|
||||||
.TP
|
.TP
|
||||||
.B twitch
|
.B twitch
|
||||||
unblanks the screen and resets the idle timeout as if the
|
unblanks the screen and resets the idle timeout as if the
|
||||||
|
|
|
@ -98,7 +98,7 @@ static uchar buttonmap[8] = {
|
||||||
static int mouseswap;
|
static int mouseswap;
|
||||||
static int scrollswap;
|
static int scrollswap;
|
||||||
static ulong mousetime;
|
static ulong mousetime;
|
||||||
static ulong blanktime = 30; /* in minutes; a half hour */
|
static ulong blanktime;
|
||||||
|
|
||||||
extern Memimage* gscreen;
|
extern Memimage* gscreen;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue