- Timestamp:
- Mar 29, 2010, 11:11:32 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 9186c75
- Parents:
- 58d47ca
- git-author:
- Nelson Elhage <nelhage@ksplice.com> (03/19/10 17:07:21)
- git-committer:
- Nelson Elhage <nelhage@mit.edu> (03/29/10 23:11:32)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
global.c
r58d47ca r98d296d 57 57 g->curmsg_vert_offset=0; 58 58 g->resizepending=0; 59 g->typwinactive=0;60 59 g->direction=OWL_DIRECTION_DOWNWARDS; 61 60 g->zaway=0; … … 366 365 /* typwin */ 367 366 368 int owl_global_is_typwin_active(const owl_global *g) {369 if (g->typwinactive==1) return(1);370 return(0);371 }372 373 367 owl_editwin *owl_global_set_typwin_active(owl_global *g, int style, owl_history *hist) { 374 368 int d; … … 382 376 style, 383 377 hist); 384 g->typwinactive=1;385 378 return g->tw; 386 379 } … … 390 383 if (d > 0 && owl_editwin_get_style(g->tw) == OWL_EDITWIN_STYLE_MULTILINE) 391 384 owl_function_resize_typwin(owl_global_get_typwin_lines(g) - d); 392 393 g->typwinactive=0;394 385 395 386 werase(owl_global_get_curs_typwin(g));
Note: See TracChangeset
for help on using the changeset viewer.