vt_core.c (273921) | vt_core.c (274860) |
---|---|
1/*- 2 * Copyright (c) 2009, 2013 The FreeBSD Foundation 3 * All rights reserved. 4 * 5 * This software was developed by Ed Schouten under sponsorship from the 6 * FreeBSD Foundation. 7 * 8 * Portions of this software were developed by Oleksandr Rybalko --- 17 unchanged lines hidden (view full) --- 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 */ 32 33#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2009, 2013 The FreeBSD Foundation 3 * All rights reserved. 4 * 5 * This software was developed by Ed Schouten under sponsorship from the 6 * FreeBSD Foundation. 7 * 8 * Portions of this software were developed by Oleksandr Rybalko --- 17 unchanged lines hidden (view full) --- 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: stable/10/sys/dev/vt/vt_core.c 273921 2014-10-31 23:10:58Z dumbbell $"); | 34__FBSDID("$FreeBSD: stable/10/sys/dev/vt/vt_core.c 274860 2014-11-22 16:55:55Z dumbbell $"); |
35 36#include "opt_compat.h" 37 38#include <sys/param.h> 39#include <sys/consio.h> 40#include <sys/eventhandler.h> 41#include <sys/fbio.h> 42#include <sys/kbio.h> --- 1477 unchanged lines hidden (view full) --- 1520 1521 vt_termsize(vd, vf, &size); 1522 vt_winsize(vd, vf, &wsz); 1523 1524 /* Grow the screen buffer and terminal. */ 1525 terminal_mute(tm, 1); 1526 vtbuf_grow(&vw->vw_buf, &size, vw->vw_buf.vb_history_size); 1527 terminal_set_winsize_blank(tm, &wsz, 0, NULL); | 35 36#include "opt_compat.h" 37 38#include <sys/param.h> 39#include <sys/consio.h> 40#include <sys/eventhandler.h> 41#include <sys/fbio.h> 42#include <sys/kbio.h> --- 1477 unchanged lines hidden (view full) --- 1520 1521 vt_termsize(vd, vf, &size); 1522 vt_winsize(vd, vf, &wsz); 1523 1524 /* Grow the screen buffer and terminal. */ 1525 terminal_mute(tm, 1); 1526 vtbuf_grow(&vw->vw_buf, &size, vw->vw_buf.vb_history_size); 1527 terminal_set_winsize_blank(tm, &wsz, 0, NULL); |
1528 terminal_set_cursor(tm, &vw->vw_buf.vb_cursor); |
|
1528 terminal_mute(tm, 0); 1529 1530 /* Actually apply the font to the current window. */ 1531 VT_LOCK(vd); 1532 if (vw->vw_font != vf && vw->vw_font != NULL && vf != NULL) { 1533 /* 1534 * In case vt_change_font called to update size we don't need 1535 * to update font link. --- 1126 unchanged lines hidden --- | 1529 terminal_mute(tm, 0); 1530 1531 /* Actually apply the font to the current window. */ 1532 VT_LOCK(vd); 1533 if (vw->vw_font != vf && vw->vw_font != NULL && vf != NULL) { 1534 /* 1535 * In case vt_change_font called to update size we don't need 1536 * to update font link. --- 1126 unchanged lines hidden --- |