|
@@ -220,5 +220,19 @@ namespace Terminal.Gui {
|
|
|
}
|
|
|
return false;
|
|
|
}
|
|
|
+
|
|
|
+ ///<inheritdoc/>
|
|
|
+ public override void PositionCursor ()
|
|
|
+ {
|
|
|
+ if (HotKey == Key.Unknown) {
|
|
|
+ for (int i = 0; i < base.Text.RuneCount; i++) {
|
|
|
+ if (base.Text [i] == text [0]) {
|
|
|
+ Move (i, 0);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ base.PositionCursor ();
|
|
|
+ }
|
|
|
}
|
|
|
}
|