add a "reset terminal emulator" command pseudo-keysym and call the
corresponding callback if one is hit
This commit is contained in:
parent
624d9f505f
commit
d90442b612
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: wskbd.c,v 1.16 1999/01/10 18:22:14 augustss Exp $ */
|
||||
/* $NetBSD: wskbd.c,v 1.17 1999/01/14 11:44:54 drochner Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
|
||||
|
@ -36,7 +36,7 @@
|
|||
static const char _copyright[] __attribute__ ((unused)) =
|
||||
"Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.";
|
||||
static const char _rcsid[] __attribute__ ((unused)) =
|
||||
"$NetBSD: wskbd.c,v 1.16 1999/01/10 18:22:14 augustss Exp $";
|
||||
"$NetBSD: wskbd.c,v 1.17 1999/01/14 11:44:54 drochner Exp $";
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -939,6 +939,9 @@ internal_command(sc, type, ksym)
|
|||
case KS_Cmd_Screen9:
|
||||
wsdisplay_switch(sc->sc_displaydv, ksym - KS_Cmd_Screen0, 0);
|
||||
return (1);
|
||||
case KS_Cmd_ResetEmul:
|
||||
wsdisplay_resetemul(sc->sc_displaydv);
|
||||
return (1);
|
||||
}
|
||||
return (0);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: wsksymdef.h,v 1.18 1999/01/10 16:56:35 augustss Exp $ */
|
||||
/* $NetBSD: wsksymdef.h,v 1.19 1999/01/14 11:44:54 drochner Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||
|
@ -412,6 +412,7 @@
|
|||
#define KS_Cmd_Screen8 0xf408
|
||||
#define KS_Cmd_Screen9 0xf409
|
||||
#define KS_Cmd_Debugger 0xf420
|
||||
#define KS_Cmd_ResetEmul 0xf421
|
||||
|
||||
/*
|
||||
* Group 5 (internal)
|
||||
|
|
Loading…
Reference in New Issue