Lines Matching refs:screen_height
29 unsigned screen_height, screen_width;
625 if (distance > (int)TT.screen_height) { in adjust_screen_buffer()
626 int n, adj = distance-TT.screen_height; in adjust_screen_buffer()
767 cur_down(TT.screen_height-1, 1, 0); in vi_L()
774 cur_down(TT.screen_height/2, 1, 0); in vi_M()
974 for (i=0; i<TT.screen_height-2; ++i) { in ctrl_b()
985 for (i=0; i<TT.screen_height-2; ++i) TT.screen = text_nsol(TT.screen); in ctrl_f()
1368 else if (abs(scroll)>TT.screen_height/2) redraw = 3; in draw_page()
1444 for (; y < TT.screen_height; y++ ) { in draw_page()
1452 else if (scroll<0 && TT.screen_height-y-1<-scroll) in draw_page()
1475 tty_jump(0, TT.screen_height); in draw_page()
1480 cy_scr = TT.screen_height; in draw_page()
1489 tty_jump(TT.screen_width-strlen(toybuf), TT.screen_height); in draw_page()
1516 TT.screen_width = 80, TT.screen_height = 24; in vi_main()
1518 terminal_size(&TT.screen_width, &TT.screen_height); in vi_main()
1519 TT.screen_height -= 1; in vi_main()
1546 terminal_size(&TT.screen_width, &TT.screen_height); in vi_main()
1547 TT.screen_height -= 1; //TODO this is hack fix visual alignment in vi_main()