mirror of
https://github.com/cy384/ssheven.git
synced 2026-05-21 06:45:34 -06:00
fix occasional cursor glitches
This commit is contained in:
parent
074059f648
commit
e8ba3bdd97
1 changed files with 8 additions and 0 deletions
|
|
@ -110,6 +110,14 @@ int is_printable(char c)
|
|||
|
||||
void print_char(char c)
|
||||
{
|
||||
if (con.cursor_state == 1)
|
||||
{
|
||||
con.cursor_state = 0;
|
||||
Rect cursor = cell_rect(con.cursor_x, con.cursor_y, con.win->portRect);
|
||||
//InvertRect(&cursor);
|
||||
InvalRect(&cursor);
|
||||
}
|
||||
|
||||
// backspace
|
||||
if ('\b' == c)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue