X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fbits%2FMnemonicString.java;h=d61963c0740718447856f4c80caeb1ecd7253c4b;hb=fca67db090dc7e6476b98b800ce225c2bf60425c;hp=f97e1e992b1dfa02f81472e34bf7fe4c407f03fd;hpb=a06459bd6b0e65c9b590dbdf6ed9349043119215;p=nikiroo-utils.git diff --git a/src/jexer/bits/MnemonicString.java b/src/jexer/bits/MnemonicString.java index f97e1e9..d61963c 100644 --- a/src/jexer/bits/MnemonicString.java +++ b/src/jexer/bits/MnemonicString.java @@ -43,6 +43,15 @@ public final class MnemonicString { */ private char shortcut; + /** + * Get the keyboard shortcut character. + * + * @return the highlighted character + */ + public char getShortcut() { + return shortcut; + } + /** * Location of the highlighted character. */