you can cycle through your command history
This commit is contained in:
@@ -39,6 +39,12 @@ func _input(event: InputEvent) -> void:
|
||||
|
||||
KEY_ENTER:
|
||||
terminal.EnterCommand()
|
||||
|
||||
KEY_UP:
|
||||
terminal.NavigateHistory(1)
|
||||
|
||||
KEY_DOWN:
|
||||
terminal.NavigateHistory(-1)
|
||||
|
||||
if event.unicode > 31:
|
||||
var character = char(event.unicode)
|
||||
|
||||
Reference in New Issue
Block a user