Changeset 8df36cc
- Timestamp:
- Jul 3, 2002, 6:56:07 PM (22 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 10b866d
- Parents:
- 217a43e
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r217a43e r8df36cc 21 21 The "Not logged in or subscribing to messages" error 22 22 now includes the name of the recipient. 23 Fixed a bug in the "reply -e" command.24 23 The "disable-ctrl-d" variable may also be set to "middle" 25 24 which will result in ctrl-d only sending at the 26 25 end of the message. This is now the default. 27 26 This also added a command "editmulti:done-or-delete". 28 27 Fixed a bug in the "reply -e" command. 28 Always clear the command buffer before executing the command. 29 (So that interactive commands can sanely do start-command.) 30 29 31 1.2.1-pre-1 30 32 Added RCS Id strings to all files. -
commands.c
r217a43e r8df36cc 1151 1151 int edit=0; 1152 1152 1153 if (argc ==2 && !strcmp("-e", argv[1])) {1153 if (argc>=2 && !strcmp("-e", argv[1])) { 1154 1154 edit=1; 1155 1155 argv++; … … 1532 1532 void owl_command_editline_done(owl_editwin *e) { 1533 1533 owl_history *hist=owl_global_get_history(&g); 1534 char *rv ;1534 char *rv, *cmd; 1535 1535 1536 1536 owl_global_set_typwin_inactive(&g); 1537 1537 owl_history_store(hist, owl_editwin_get_text(e)); 1538 1538 owl_history_reset(hist); 1539 rv = owl_function_command(owl_editwin_get_text(e)); 1540 1541 /* if we're still in ONELINE mode we can clear the buffer */ 1542 if (owl_editwin_get_style(e)==OWL_EDITWIN_STYLE_ONELINE) { 1543 owl_editwin_fullclear(e); 1544 } 1545 1539 cmd = owl_strdup(owl_editwin_get_text(e)); 1540 owl_editwin_fullclear(e); 1541 rv = owl_function_command(cmd); 1542 owl_free(cmd); 1543 1546 1544 wnoutrefresh(owl_editwin_get_curswin(e)); 1547 1545 owl_global_set_needrefresh(&g);
Note: See TracChangeset
for help on using the changeset viewer.