Couple of bugs fixed: terminal not sane after shell and cursor changing shape

This commit is contained in:
Jacobo Tarrío 2000-04-18 20:50:23 +00:00
parent 67e6886083
commit d69c57942c
3 changed files with 4 additions and 11 deletions

View File

@ -24,14 +24,11 @@ If you find any bug not listed here, please report to Jacobo Tarrio,
2:348/105.93@fidonet <jtarrio@iname.com> ASAP to get it fixed soon, or,
even better, fix it yourself and send me the patch :-)
=== 2000-03-05: Fourth public release
=== 2000-04-18: Fourth public release
Known bugs:
! Messages from the program viewed before entering full-screen are not
displayed properly
! The cursor grows very big every 30 seconds when editing a message
(possible reincarnation of a similar bug in former versions)
* Terminal is messed up after exiting GoldED+ if shell was invoked.
Notes:

View File

@ -283,7 +283,7 @@ int ShellToDos(char* command, char* message, int cls, int cursor, int swap, int
if(CFG->screenpalette[16])
gvid->setpalette(gvid->orig.color.palette);
#ifdef __UNIX__
#if defined(__UNIX__) and not defined(__USE_NCURSES__)
gkbd_tty_reset();
#endif
@ -343,11 +343,11 @@ int ShellToDos(char* command, char* message, int cls, int cursor, int swap, int
status = 0;
// Restore keyboard settings
gkbd.Init();
#ifdef __USE_NCURSES__
clearok(stdscr, TRUE);
resetty();
#else
gkbd.Init();
#endif
// Pause if needed

View File

@ -2000,11 +2000,7 @@ void vcurhide() {
void vcurshow() {
if(__vcurhidden) {
#if defined(__USE_NCURSES__)
curs_set(gvid->curr.cursor.end ? 2 : 1);
#else
vcurset(gvid->curr.cursor.start, gvid->curr.cursor.end);
#endif
__vcurhidden = false;
}
}