Improved nano support

Use "-R" (restricted) mode.
This commit is contained in:
Peter Ruibal 2015-01-10 22:56:13 -08:00
parent bc0f61f7c4
commit 39c587d815
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,9 @@ def get_editor_args(editor):
elif editor == 'gedit':
return '-w --new-window'
elif editor == 'nano':
return '-R'
else:
return ''