Changeset 0881cdd for popwin.c


Ignore:
Timestamp:
May 11, 2010, 7:42:13 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
88e425f
Parents:
bcff94d
git-author:
David Benjamin <davidben@mit.edu> (05/06/10 01:46:48)
git-committer:
David Benjamin <davidben@mit.edu> (05/11/10 19:42:13)
Message:
Use a separate pad for input

wgetch calls a wrefresh on regular windows. I imagine this is for
echo(), which we do not use. Instead, we make a pad and only ever
wgetch on it.

This also means that the various nodelay settings on other windows are
unnecessary.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • popwin.c

    r06cc8d9 r0881cdd  
    2828  popwin = newwin(pw->lines-2, pw->cols-2, startline+1, startcol+1);
    2929  pw->poppanel = new_panel(popwin);
    30  
    31   meta(popwin,TRUE);
    32   nodelay(popwin, 1);
    33   keypad(popwin, TRUE);
    3430
    3531  werase(popwin);
Note: See TracChangeset for help on using the changeset viewer.