diff options
| author | Eli Zaretskii | 2024-10-26 15:19:53 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2024-10-26 15:19:53 +0300 |
| commit | a3e41874c1b3d75d18dab9e20e0f183a3086fea4 (patch) | |
| tree | b761a3412dae1d6ad580310cd95099fa23cd0367 /src | |
| parent | 0d6a014750c63a9a9d6e5bcc195e80bf58dfa276 (diff) | |
| download | emacs-a3e41874c1b3d75d18dab9e20e0f183a3086fea4.tar.gz emacs-a3e41874c1b3d75d18dab9e20e0f183a3086fea4.zip | |
* src/w32console.c (w32con_update_end): Fix cursor display.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32console.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/w32console.c b/src/w32console.c index b9a84bbf86a..7393e5b3f6b 100644 --- a/src/w32console.c +++ b/src/w32console.c | |||
| @@ -535,6 +535,11 @@ static void | |||
| 535 | w32con_update_end (struct frame * f) | 535 | w32con_update_end (struct frame * f) |
| 536 | { | 536 | { |
| 537 | SetConsoleCursorPosition (cur_screen, cursor_coords); | 537 | SetConsoleCursorPosition (cur_screen, cursor_coords); |
| 538 | if (!XWINDOW (selected_window)->cursor_off_p | ||
| 539 | && cursor_coords.X < FRAME_COLS (f)) | ||
| 540 | w32con_show_cursor (); | ||
| 541 | else | ||
| 542 | w32con_hide_cursor (); | ||
| 538 | } | 543 | } |
| 539 | 544 | ||
| 540 | /*********************************************************************** | 545 | /*********************************************************************** |