version 1.2, 1996/09/21 06:23:09 |
version 1.3, 1996/09/22 01:18:03 |
|
|
static void msg_screen_outchar __ARGS((int c)); |
static void msg_screen_outchar __ARGS((int c)); |
static int msg_check_screen __ARGS((void)); |
static int msg_check_screen __ARGS((void)); |
|
|
static int lines_left = -1; /* lines left for listing */ |
/* lines_left moved to globals so do_exmode could see it */ |
|
|
/* |
/* |
* msg(s) - displays the string 's' on the status line |
* msg(s) - displays the string 's' on the status line |
|
|
quit_more = FALSE; |
quit_more = FALSE; |
got_int = FALSE; |
got_int = FALSE; |
} |
} |
|
else if (exmode_active) |
|
{ |
|
MSG_OUTSTR(" "); /* make sure the cursor is on the right line */ |
|
c = CR; /* no need for a return in ex mode */ |
|
got_int = FALSE; |
|
} |
else |
else |
{ |
{ |
State = HITRETURN; |
State = HITRETURN; |
|
|
int n_spaces = 0; |
int n_spaces = 0; |
char_u *p = NULL; /* init to make SASC shut up */ |
char_u *p = NULL; /* init to make SASC shut up */ |
int n; |
int n; |
|
|
|
/* |
|
* if it's a blank line, echo a space, because otherwise if we're |
|
* in ex mode, the : for the next command will end up on the wrong |
|
* line. I don't know why -- hooray for cargo cult programming! |
|
*/ |
|
|
|
if (*s == 0) { |
|
msg_outchar(' '); |
|
} |
|
|
for (;;) |
for (;;) |
{ |
{ |