Delete mode.py
This commit is contained in:
parent
b0a25817ac
commit
a1e71026c4
17
core/mode.py
17
core/mode.py
@ -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
|
Loading…
Reference in New Issue
Block a user