Changeset 5934b87 for functions.c
- Timestamp:
- Mar 23, 2010, 5:23:43 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 59ab8dd
- Parents:
- d83621c4
- git-author:
- Nelson Elhage <nelhage@ksplice.com> (03/06/10 17:54:44)
- git-committer:
- Nelson Elhage <nelhage@ksplice.com> (03/23/10 17:23:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
rd83621c4 r5934b87 1900 1900 } 1901 1901 1902 void owl_callback_command(owl_editwin *e) 1903 { 1904 char *rv; 1905 const char *line = owl_editwin_get_text(e); 1906 1907 rv = owl_function_command(line); 1908 if (rv) { 1909 owl_function_makemsg("%s", rv); 1910 owl_free(rv); 1911 } 1912 } 1913 1902 1914 void owl_function_start_command(const char *line) 1903 1915 { … … 1914 1926 1915 1927 owl_global_push_context(&g, OWL_CTX_EDITLINE, tw, "editline"); 1928 owl_editwin_set_callback(tw, owl_callback_command); 1916 1929 } 1917 1930
Note: See TracChangeset
for help on using the changeset viewer.