Update nano.py
This commit is contained in:
parent
ab7d379424
commit
f9906d7b93
@ -1,3 +1,4 @@
|
||||
#["nano", "packages.nano", ["nano"]]
|
||||
import os
|
||||
import curses
|
||||
from pygments import highlight
|
||||
@ -110,4 +111,4 @@ def nano(args):
|
||||
editor = TextEditor()
|
||||
editor.file = filename
|
||||
editor.load_file(filename)
|
||||
curses.wrapper(editor.edit)
|
||||
curses.wrapper(editor.edit)
|
||||
|
Loading…
Reference in New Issue
Block a user