summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/syscons.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/syscons/syscons.c')
-rw-r--r--sys/dev/syscons/syscons.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index 631daa4..7742dc6 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -3066,6 +3066,17 @@ next_code:
}
break;
+ case PASTE:
+#ifndef SC_NO_CUTPASTE
+ /* XXX need to set MOUSE_VISIBLE flag 'cause sc_mouse_paste() */
+ /* and sc_paste() will not operate without it. */
+ i = scp->status;
+ scp->status |= MOUSE_VISIBLE;
+ sc_mouse_paste(scp);
+ scp->status = i;
+#endif
+ break;
+
/* NON-LOCKING KEYS */
case NOP:
case LSH: case RSH: case LCTR: case RCTR:
OpenPOWER on IntegriCloud