Repository navigation
Commit dfcd66d
committed
termios: ESC[v restores the initial cursor shape
set_cursor_shape() computed the normal cursor as
top_line = bot_line + 1, which gives start > end: 15-14 for
the 8x16 font and 8-7 for 8x8. VGA does not draw such a cursor
at all, and dosemu only showed it via its split cursor
emulation.
Make ESC[v (cnorm) restore the cursor shape saved at init, the
one the console had before. Also correct the computed normal
shape to bot_line - 1.1 parent 9d8fced commit dfcd66d
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
740 | 744 | | |
741 | 745 | | |
742 | 746 | | |
| |||
757 | 761 | | |
758 | 762 | | |
759 | 763 | | |
760 | | - | |
| 764 | + | |
761 | 765 | | |
762 | 766 | | |
763 | 767 | | |
| |||
0 commit comments