🔧 Fix switching modes

This commit is contained in:
Maddie H 2022-03-19 15:57:38 +00:00
parent 5cf95db31b
commit dd2e5a49af
2 changed files with 3 additions and 3 deletions

View File

@ -12,11 +12,11 @@ def activate(instance, mode):
elif mode == "insert":
# Activate insert mode
insert.activate(instance)
insert.activate()
elif mode == "normal":
# Activate normal mode
normal.activate(instance)
normal.activate()
def handle_key(instance, key):

View File

@ -8,6 +8,6 @@ def execute(instance, key):
modes.activate(instance, "normal")
def activate(instance):
def activate():
# Switch the cursor to a line
cursors.cursor_mode("line")