added arrow keys to move cursor in terminal
This commit is contained in:
@@ -45,6 +45,12 @@ func _input(event: InputEvent) -> void:
|
||||
|
||||
KEY_DOWN:
|
||||
terminal.NavigateHistory(-1)
|
||||
|
||||
KEY_LEFT:
|
||||
terminal.MoveCursorLeft()
|
||||
|
||||
KEY_RIGHT:
|
||||
terminal.MoveCursorRight()
|
||||
|
||||
if event.unicode > 31:
|
||||
var character = char(event.unicode)
|
||||
|
||||
Reference in New Issue
Block a user