Skip to content

Commit

Permalink
fix handler example in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jerch committed Dec 15, 2024
1 parent 569e854 commit 94ca05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/addon-progress/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { ProgressAddon } from '@xterm/addon-progress';
const terminal = new Terminal();
const progressAddon = new ProgressAddon();
terminal.loadAddon(progressAddon);
progressAddon.register({state, value} => {
progressAddon.register((state: number, value: number) => {
// state: 0-4 integer (see below for meaning)
// value: 0-100 integer (percent value)

Expand Down

0 comments on commit 94ca05c

Please sign in to comment.