init_disp.c (17698) | init_disp.c (20988) |
---|---|
1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 78 unchanged lines hidden (view full) --- 87 noecho(); 88 crmode(); 89 signal(SIGINT, sig_sent); 90 signal(SIGPIPE, sig_sent); 91 /* curses takes care of ^Z */ 92 my_win.x_nlines = LINES / 2; 93 my_win.x_ncols = COLS; 94 my_win.x_win = newwin(my_win.x_nlines, my_win.x_ncols, 0, 0); | 1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 78 unchanged lines hidden (view full) --- 87 noecho(); 88 crmode(); 89 signal(SIGINT, sig_sent); 90 signal(SIGPIPE, sig_sent); 91 /* curses takes care of ^Z */ 92 my_win.x_nlines = LINES / 2; 93 my_win.x_ncols = COLS; 94 my_win.x_win = newwin(my_win.x_nlines, my_win.x_ncols, 0, 0); |
95 idlok(my_win.x_win, TRUE); |
|
95 scrollok(my_win.x_win, TRUE); 96 wclear(my_win.x_win); 97 98 his_win.x_nlines = LINES / 2 - 1; 99 his_win.x_ncols = COLS; 100 his_win.x_win = newwin(his_win.x_nlines, his_win.x_ncols, 101 my_win.x_nlines+1, 0); | 96 scrollok(my_win.x_win, TRUE); 97 wclear(my_win.x_win); 98 99 his_win.x_nlines = LINES / 2 - 1; 100 his_win.x_ncols = COLS; 101 his_win.x_win = newwin(his_win.x_nlines, his_win.x_ncols, 102 my_win.x_nlines+1, 0); |
103 idlok(my_win.x_win, TRUE); |
|
102 scrollok(his_win.x_win, TRUE); 103 wclear(his_win.x_win); 104 105 line_win = newwin(1, COLS, my_win.x_nlines, 0); 106#if defined(hline) || defined(whline) || defined(NCURSES_VERSION) 107 whline(line_win, 0, COLS); 108#else 109 box(line_win, '-', '-'); --- 69 unchanged lines hidden --- | 104 scrollok(his_win.x_win, TRUE); 105 wclear(his_win.x_win); 106 107 line_win = newwin(1, COLS, my_win.x_nlines, 0); 108#if defined(hline) || defined(whline) || defined(NCURSES_VERSION) 109 whline(line_win, 0, COLS); 110#else 111 box(line_win, '-', '-'); --- 69 unchanged lines hidden --- |