aboutsummaryrefslogtreecommitdiff
path: root/editors/vi.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vi.c')
-rw-r--r--editors/vi.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/editors/vi.c b/editors/vi.c
index c4f3a8393..74566499c 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -62,18 +62,18 @@ enum {
62 62
63/* vt102 typical ESC sequence */ 63/* vt102 typical ESC sequence */
64/* terminal standout start/normal ESC sequence */ 64/* terminal standout start/normal ESC sequence */
65static const char SOs[] = "\033[7m"; 65static const char SOs[] ALIGN1 = "\033[7m";
66static const char SOn[] = "\033[0m"; 66static const char SOn[] ALIGN1 = "\033[0m";
67/* terminal bell sequence */ 67/* terminal bell sequence */
68static const char bell[] = "\007"; 68static const char bell[] ALIGN1 = "\007";
69/* Clear-end-of-line and Clear-end-of-screen ESC sequence */ 69/* Clear-end-of-line and Clear-end-of-screen ESC sequence */
70static const char Ceol[] = "\033[0K"; 70static const char Ceol[] ALIGN1 = "\033[0K";
71static const char Ceos [] = "\033[0J"; 71static const char Ceos[] ALIGN1 = "\033[0J";
72/* Cursor motion arbitrary destination ESC sequence */ 72/* Cursor motion arbitrary destination ESC sequence */
73static const char CMrc[] = "\033[%d;%dH"; 73static const char CMrc[] ALIGN1 = "\033[%d;%dH";
74/* Cursor motion up and down ESC sequence */ 74/* Cursor motion up and down ESC sequence */
75static const char CMup[] = "\033[A"; 75static const char CMup[] ALIGN1 = "\033[A";
76static const char CMdown[] = "\n"; 76static const char CMdown[] ALIGN1 = "\n";
77 77
78 78
79enum { 79enum {
@@ -2663,7 +2663,7 @@ static void ni(const char * s) // display messages
2663static int format_edit_status(void) // show file status on status line 2663static int format_edit_status(void) // show file status on status line
2664{ 2664{
2665 static int tot; 2665 static int tot;
2666 static const char cmd_mode_indicator[] = "-IR-"; 2666 static const char cmd_mode_indicator[] ALIGN1 = "-IR-";
2667 int cur, percent, ret, trunc_at; 2667 int cur, percent, ret, trunc_at;
2668 2668
2669 // file_modified is now a counter rather than a flag. this 2669 // file_modified is now a counter rather than a flag. this