Delete mode.py

This commit is contained in:
Madeleine 2022-03-19 15:15:09 +00:00 committed by GitHub
parent b0a25817ac
commit a1e71026c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +0,0 @@
from modes import normal, insert, command
def activate(screen, data):
if data["mode"] == "normal":
data["mode_color"] = 6
data = normal.activate(screen, data)
elif data["mode"] == "insert":
data["mode_color"] = 12
data = insert.activate(screen, data)
elif data["mode"] == "command":
data["mode_color"] = 6
data = command.activate(screen, data)
return data