Skip to content

Commit

Permalink
Merge pull request #3 from chirsz-ever/fix_issue1
Browse files Browse the repository at this point in the history
使getkey可返回key_msg_char型的消息
  • Loading branch information
wysaid committed Feb 9, 2019
2 parents 06558cd + 4fd3702 commit 8e5d6d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphics.cpp
Expand Up @@ -354,7 +354,7 @@ kbmsg() {
struct _graph_setting * pg = &graph_setting;
if (pg->exit_window)
return grNoInitGraph;
return peekallkey(pg, 1);
return peekallkey(pg, 3);
}

int
Expand Down

0 comments on commit 8e5d6d5

Please sign in to comment.