Skip to content

Commit

Permalink
termcap_putter type
Browse files Browse the repository at this point in the history
  • Loading branch information
barak committed Oct 7, 2024
1 parent 5cab54e commit c627211
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wxterm.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ char wx_font_face[300] = "Courier"; //300 matches lsetfont in wxterm.c
int wx_font_size = 12;
int label_height = 15;

int termcap_putter(char ch) {
*termcap_ptr++ = ch;
int termcap_putter(int ch) {
/* XXX: Should this check for any non-char values? */
*termcap_ptr++ = (char)ch;
return 0;
}

Expand Down

0 comments on commit c627211

Please sign in to comment.