Skip to content

Commit

Permalink
Updated jinx sample program.
Browse files Browse the repository at this point in the history
  • Loading branch information
orbitalquark committed Jun 7, 2020
1 parent f8ec29f commit 1ad6813
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jinx/jinx.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@

typedef void Scintilla;

void scnotification(Scintilla *view, int msg, void *lParam, void *wParam) {
//struct SCNotification *scn = (struct SCNotification *)lParam;
//printw("SCNotification received: %i", scn->nmhdr.code);
void scnotification(Scintilla *view, int msg, SCNotification *n, void *userdata)
{
//printw("SCNotification received: %i", n->nmhdr.code);
}

int main(int argc, char **argv) {
setlocale(LC_CTYPE, ""); // for displaying UTF-8 characters properly
initscr(), raw(), cbreak(), noecho(), start_color();
Scintilla *sci = scintilla_new(scnotification);
Scintilla *sci = scintilla_new(scnotification, NULL);
curs_set(0); // Scintilla draws its own cursor

SSM(SCI_STYLESETFORE, STYLE_DEFAULT, 0xFFFFFF);
Expand Down

0 comments on commit 1ad6813

Please sign in to comment.