Added support for paste to the VT100, but browser idiosyncrasies (eg, Chrome) are proving irksome; for now, you'll have more luck with Firefox, or sticking to machines that use a textarea for their I/O instead the VT100 if you need to do a lot of pasting
This commit is contained in:
parent
bc13007794
commit
66f82736c9
6 changed files with 417 additions and 364 deletions
|
|
@ -215,7 +215,7 @@ function Video8080(parmsVideo, canvas, context, textarea, container)
|
|||
if ('on' + sEvent in document) {
|
||||
var onFullScreenChange = function() {
|
||||
var fFullScreen = (document['fullscreenElement'] || document['msFullscreenElement'] || document['mozFullScreenElement'] || document['webkitFullscreenElement']);
|
||||
video.notifyFullScreen(fFullScreen? true : false);
|
||||
video.notifyFullScreen(!!fFullScreen);
|
||||
};
|
||||
document.addEventListener(sEvent, onFullScreenChange, false);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue