Skip to content

Commit

Permalink
feat: keyboard.clear()
Browse files Browse the repository at this point in the history
  • Loading branch information
marnixah committed Jan 24, 2022
1 parent 21e6734 commit 5527333
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/classes/KeyboardManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,11 @@ export default class KeyboardManager {
await this.setCol(0);
await this.tv.ok();
}

async clear(): Promise<void> {
const [row, col] = this.keyToRowCol('Backspace');
await this.setRow(row);
await this.setCol(col);
await this.tv.ok(100);
}
}

0 comments on commit 5527333

Please sign in to comment.