inkle / inkle/ink

Inky sometimes treats lines starting with a number and a colon as options

Open
#524 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.9k
Forks
540
PR merge metrics
No merged PRs in 30d

Description

In Inky (and only in Inky as far as I can tell), if a line starts with a number followed by a colon, it will be treated as an option.

For example, the following code:

```
3:w
*opt1
*opt2
```

Ends up with three clickable options labeled `w`, `opt1`, and `opt2`, in that order. `opt1` and `opt2` work as expected, but clicking `w` results in a `Choice out of range` message.

In the following code:

```
2:w
*opt1
*opt2
```

clicking the `w` "option" acts as though `opt2` was clicked instead.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.