Changeset 38cc669 for commands.c
- Timestamp:
- Mar 23, 2010, 5:23:43 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 0d17295
- Parents:
- 8dfb59c
- git-author:
- Nelson Elhage <nelhage@mit.edu> (03/13/10 23:54:51)
- git-committer:
- Nelson Elhage <nelhage@ksplice.com> (03/23/10 17:23:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.c
r8dfb59c r38cc669 2566 2566 /* if we get two arguments, ask for the password */ 2567 2567 if (argc==2) { 2568 owl_function_start_password("AIM Password: "); 2568 2569 owl_editwin_set_cbdata(owl_global_get_typwin(&g), 2569 2570 owl_strdup(argv[1]), owl_free); 2570 2571 owl_editwin_set_callback(owl_global_get_typwin(&g), 2571 2572 owl_callback_aimlogin); 2572 owl_function_start_password("AIM Password: ");2573 2573 return(NULL); 2574 2574 } else { … … 2699 2699 } 2700 2700 2701 owl_editwin_fullclear(e);2702 2701 owl_global_set_needrefresh(&g); 2702 owl_global_pop_context(&g); 2703 2703 2704 owl_global_set_typwin_inactive(&g); 2704 owl_editwin_new_style(e, OWL_EDITWIN_STYLE_ONELINE, NULL);2705 2706 owl_global_pop_context(&g);2707 2705 } 2708 2706 … … 2761 2759 owl_history_store(hist, owl_editwin_get_text(e)); 2762 2760 owl_history_reset(hist); 2761 cmd = owl_strdup(owl_editwin_get_text(e)); 2762 2763 2763 owl_global_set_typwin_inactive(&g); 2764 2764 owl_global_pop_context(&g); 2765 cmd = owl_strdup(owl_editwin_get_text(e)); 2766 owl_editwin_fullclear(e); 2765 2767 2766 rv = owl_function_command(cmd); 2768 2767 owl_free(cmd); … … 2783 2782 owl_global_set_typwin_inactive(&g); 2784 2783 owl_global_pop_context(&g); 2785 owl_editwin_fullclear(e); 2784 2786 2785 owl_global_set_needrefresh(&g); 2787 2786 } … … 2796 2795 2797 2796 owl_function_run_buffercommand(); 2798 owl_editwin_new_style(e, OWL_EDITWIN_STYLE_ONELINE, NULL); 2799 owl_editwin_fullclear(e); 2797 2800 2798 owl_global_set_typwin_inactive(&g); 2801 2799 owl_global_pop_context(&g);
Note: See TracChangeset
for help on using the changeset viewer.