@xterm/xterm 5.4.0-beta.22 → 5.4.0-beta.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xterm/xterm",
3
3
  "description": "Full xterm terminal, in your browser",
4
- "version": "5.4.0-beta.22",
4
+ "version": "5.4.0-beta.23",
5
5
  "main": "lib/xterm.js",
6
6
  "style": "css/xterm.css",
7
7
  "types": "typings/xterm.d.ts",
@@ -1014,7 +1014,7 @@ declare module '@xterm/xterm' {
1014
1014
  * Attaches a custom wheel event handler which is run before keys are
1015
1015
  * processed, giving consumers of xterm.js control over whether to proceed
1016
1016
  * or cancel terminal wheel events.
1017
- * @param customMouseEventHandler The custom WheelEvent handler to attach.
1017
+ * @param customWheelEventHandler The custom WheelEvent handler to attach.
1018
1018
  * This is a function that takes a WheelEvent, allowing consumers to stop
1019
1019
  * propagation and/or prevent the default action. The function returns
1020
1020
  * whether the event should be processed by xterm.js.
@@ -1022,7 +1022,7 @@ declare module '@xterm/xterm' {
1022
1022
  * @example A handler that prevents all wheel events while ctrl is held from
1023
1023
  * being processed.
1024
1024
  * ```ts
1025
- * term.attachCustomKeyEventHandler(ev => {
1025
+ * term.attachCustomWheelEventHandler(ev => {
1026
1026
  * if (ev.ctrlKey) {
1027
1027
  * return false;
1028
1028
  * }