mirror of
https://github.com/moshix/mvs.git
synced 2026-03-03 09:55:35 +00:00
Update kilo.c
This commit is contained in:
6
kilo.c
6
kilo.c
@@ -143,6 +143,7 @@ struct editorSyntax HLDB[] = {
|
||||
/*** prototypes ***/
|
||||
|
||||
void editorSetStatusMessage(const char *fmt, ...);
|
||||
void Help(const char *fmt, ...);
|
||||
void editorRefreshScreen();
|
||||
char *editorPrompt(char *prompt, void (*callback)(char *, int));
|
||||
|
||||
@@ -1103,11 +1104,6 @@ void initEditor() {
|
||||
E.screenrows -= 2;
|
||||
}
|
||||
|
||||
void Help() {
|
||||
editorSetStatusMessage(
|
||||
"C^S save | C^K quit | C^F find | C^T Top | C^E bottom | C^A begLine | C^Z endLine");
|
||||
}
|
||||
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
enableRawMode();
|
||||
|
||||
Reference in New Issue
Block a user