Implement overall improvements for code stability, fallbacks and keyboard interactions
This commit is contained in:
@@ -63,7 +63,8 @@ namespace KernelPanic.UI
|
||||
if (_historyIndex > 0) _input.SetValueWithoutNotify(_history[--_historyIndex]);
|
||||
break;
|
||||
case KeyCode.DownArrow:
|
||||
if (_historyIndex < _history.Count) _historyIndex++;
|
||||
if (_historyIndex == _history.Count) break;
|
||||
_historyIndex++;
|
||||
_input.SetValueWithoutNotify(_historyIndex == _history.Count ? _draft : _history[_historyIndex]);
|
||||
break;
|
||||
case KeyCode.Tab:
|
||||
|
||||
Reference in New Issue
Block a user