Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed Jul 24, 2024
1 parent 34c4cd2 commit 29cf960
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/keypress/async_iterator.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env -S deno run

import { keypress, KeyPressEvent } from "../../keypress/mod.ts";
import { keypress } from "../../keypress/mod.ts";

for await (const event: KeyPressEvent of keypress()) {
for await (const event of keypress()) {
console.log(
"type: %s, key: %s, ctrl: %s, meta: %s, shift: %s, alt: %s, repeat: %s",
event.type,
Expand Down

0 comments on commit 29cf960

Please sign in to comment.