you can cycle through your command history

This commit is contained in:
Brazly
2026-02-15 19:55:05 +00:00
parent a66f4c95cc
commit a7737b10e0
2 changed files with 29 additions and 0 deletions

View File

@@ -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)