Browse Source

Enable right mouse button support in the html exporter

pull/228/head
Eugenio Parodi 2 years ago
parent
commit
f63829eb97
  1. 2
      tests/sandbox/sandbox.NerdFont.html
  2. 2
      tests/sandbox/sandbox.base.html
  3. 2
      tests/sandbox/sandbox.old.html
  4. 2
      tests/sandbox/standalone.fullscreen.NerdFont.html
  5. 2
      tests/sandbox/standalone.fullscreen.html
  6. 2
      tests/sandbox/standalone.html

2
tests/sandbox/sandbox.NerdFont.html

@ -76,7 +76,7 @@
and <a href="https://w2ui.com/">w2ui</a>
</div>`},
{ type: 'right', size: 1000, resizable: true, style: pstyle,
html: '<div id="terminal" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px"></div>' }
html: '<div id="terminal" oncontextmenu="return false;" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px"></div>' }
]
});
new w2field({ el: query('#fpsCap')[0], type: 'int', autoFormat: false })

2
tests/sandbox/sandbox.base.html

@ -69,7 +69,7 @@
and <a href="https://w2ui.com/">w2ui</a>
</div>`},
{ type: 'right', size: 1000, resizable: true, style: pstyle,
html: '<div id="terminal" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px"></div>' }
html: '<div id="terminal" oncontextmenu="return false;" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px"></div>' }
]
});
new w2field({ el: query('#fpsCap')[0], type: 'int', autoFormat: false })

2
tests/sandbox/sandbox.old.html

@ -68,7 +68,7 @@
and <a href="https://w2ui.com/">w2ui</a>
</div>`},
{ type: 'right', size: 1000, resizable: true, style: pstyle,
html: '<div id="terminal" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px"></div>' }
html: '<div id="terminal" oncontextmenu="return false;" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px"></div>' }
]
});
new w2field({ el: query('#fpsCap')[0], type: 'int', autoFormat: false })

2
tests/sandbox/standalone.fullscreen.NerdFont.html

@ -32,7 +32,7 @@
</head>
<body>
<div id="terminal" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px"></div>
<div id="terminal" oncontextmenu="return false;" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px"></div>
<script type="text/javascript">
// Workaround from: https://developer.mozilla.org/en-US/docs/Web/API/CSS_Font_Loading_API

2
tests/sandbox/standalone.fullscreen.html

@ -20,7 +20,7 @@
</head>
<body>
<div id="terminal" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px"></div>
<div id="terminal" oncontextmenu="return false;" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px"></div>
<script type="text/javascript">
/* xterm.js */

2
tests/sandbox/standalone.html

@ -19,7 +19,7 @@
</head>
<body>
<div id="terminal" style="float: left"></div>
<div id="terminal" oncontextmenu="return false;" style="float: left"></div>
<script type="text/javascript">
/* https://www.npmjs.com/package/xterm-addon-unicode11 */

Loading…
Cancel
Save