12 lines
354 B
Diff
12 lines
354 B
Diff
--- a/src/frontend/inp.c
|
|
+++ b/src/frontend/inp.c
|
|
@@ -1653,7 +1653,7 @@
|
|
if (Def_Editor && *Def_Editor)
|
|
editor = Def_Editor;
|
|
else
|
|
- editor = "/usr/bin/vi";
|
|
+ editor = "@TERMUX_PREFIX@/bin/vi";
|
|
}
|
|
}
|
|
int len = snprintf(buf, BSIZE_SP - 1, "%s %s", editor, filename);
|