Changeset cf83b7a for functions.c


Ignore:
Timestamp:
Jun 30, 2003, 6:12:40 PM (17 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
453bd70
Parents:
c9334b1
Message:
Started adding code to do question/response stuff
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r5bb6c21 rcf83b7a  
    19221922  }
    19231923  owl_editwin_redisplay(tw, 0);
     1924
     1925  owl_context_set_editline(owl_global_get_context(&g), tw);
     1926  owl_function_activate_keymap("editline");
     1927   
     1928}
     1929
     1930void owl_function_start_question(char *line)
     1931{
     1932  owl_editwin *tw;
     1933
     1934  tw=owl_global_get_typwin(&g);
     1935  owl_global_set_typwin_active(&g);
     1936  owl_editwin_new_style(tw, OWL_EDITWIN_STYLE_ONELINE, owl_global_get_cmd_history(&g));
     1937
     1938  owl_editwin_set_locktext(tw, line);
     1939  owl_global_set_needrefresh(&g);
     1940
     1941  owl_editwin_redisplay(tw, 0);
     1942
     1943  owl_context_set_editresponse(owl_global_get_context(&g), tw);
     1944  owl_function_activate_keymap("editresponse");
    19241945}
    19251946
Note: See TracChangeset for help on using the changeset viewer.