Added mark_all() call so that screen is proberly updated

when scroll-lock history is disengaged.
This commit is contained in:
Søren Schmidt 1995-04-25 10:22:28 +00:00
parent a87df1c4d5
commit 5130ec746f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8061
3 changed files with 6 additions and 3 deletions

View file

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: syscons.c,v 1.112 1995/04/12 20:48:07 wollman Exp $
* $Id: syscons.c,v 1.113 1995/04/23 10:15:42 bde Exp $
*/
#include "sc.h"
@ -2487,6 +2487,7 @@ scgetc(int noblock)
cur_console->status &= ~BUFFER_SAVED;
cur_console->history_head=cur_console->history_save;
cur_console->status |= CURSOR_ENABLED;
mark_all(cur_console);
}
scstart(VIRTUAL_TTY(get_scr_num()));
}

View file

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: syscons.c,v 1.112 1995/04/12 20:48:07 wollman Exp $
* $Id: syscons.c,v 1.113 1995/04/23 10:15:42 bde Exp $
*/
#include "sc.h"
@ -2487,6 +2487,7 @@ scgetc(int noblock)
cur_console->status &= ~BUFFER_SAVED;
cur_console->history_head=cur_console->history_save;
cur_console->status |= CURSOR_ENABLED;
mark_all(cur_console);
}
scstart(VIRTUAL_TTY(get_scr_num()));
}

View file

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: syscons.c,v 1.112 1995/04/12 20:48:07 wollman Exp $
* $Id: syscons.c,v 1.113 1995/04/23 10:15:42 bde Exp $
*/
#include "sc.h"
@ -2487,6 +2487,7 @@ scgetc(int noblock)
cur_console->status &= ~BUFFER_SAVED;
cur_console->history_head=cur_console->history_save;
cur_console->status |= CURSOR_ENABLED;
mark_all(cur_console);
}
scstart(VIRTUAL_TTY(get_scr_num()));
}