added scrolling but scrolls infinitely

This commit is contained in:
Brazly
2026-01-18 14:33:31 +00:00
parent e1a302ff24
commit 0484218760
3 changed files with 25 additions and 3 deletions

View File

@@ -27,6 +27,12 @@ func Get_Camera_Collision():
func _input(event: InputEvent) -> void:
if event is InputEventKey and event.pressed and crosshair.is_highlighted:
if event.keycode == KEY_PAGEUP:
terminal.ScrollUp()
if event.keycode == KEY_PAGEDOWN:
terminal.ScrollDown()
if event.keycode == KEY_BACKSPACE:
terminal.InputDelChar()