Skip to content

Commit

Permalink
clear implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
rmagedon97 committed Jun 16, 2024
1 parent 9b10444 commit e5062e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hedy.py
Original file line number Diff line number Diff line change
Expand Up @@ -2897,6 +2897,9 @@ def print(self, meta, args):
argument_string = ''.join(args_new)
return f"display.scroll({argument_string})"

def clear(self, meta, args):
return f"display.clear()"


@v_args(meta=True)
@hedy_transpiler(level=5, microbit=True)
Expand Down

0 comments on commit e5062e0

Please sign in to comment.