Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@ rm.timeout = 32
rm.fontsize = 24
```

When you run the `display` function, carta will wait on any input being given **OR** the timeout being reached. When it's done this, it will return a `dict` object with the input given.
When you run the `display` function, carta will wait on any input being given **OR** the timeout being reached. When it's done this, it will return a `tuple` with the input given.

```python
clicked = rm.display()

print(clicked) # {"<id>": True}
print(clicked) # ("<id>", True)
```

If it's a `button` that has been pressed it will return `True` as the value, if anything else has been given it will use that specific input (for example, from the keyboard) as the value.
Expand Down