added scrolling but scrolls infinitely
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user