fix for [#19437] Console (Python): first run doesn't have the ">>>"

This commit is contained in:
2009-09-24 11:37:33 +00:00
parent 300df49060
commit 4aade8ad7e

View File

@@ -174,6 +174,9 @@ static void console_main_area_draw(const bContext *C, ARegion *ar)
console_scrollback_add_str(C, "Autocomplete: Ctrl+Space", 0); console_scrollback_add_str(C, "Autocomplete: Ctrl+Space", 0);
console_scrollback_add_str(C, "Ctrl +/- Wheel: Zoom", 0); console_scrollback_add_str(C, "Ctrl +/- Wheel: Zoom", 0);
console_scrollback_add_str(C, "Builtin Modules: bpy, bpy.data, bpy.ops, bpy.props, bpy.types, bpy.ui", 0); console_scrollback_add_str(C, "Builtin Modules: bpy, bpy.data, bpy.ops, bpy.props, bpy.types, bpy.ui", 0);
/* This is normally set by python but to start with its easier just to set it like this rather then running python with no args */
strcpy(sc->prompt, ">>> ");
} }
/* clear and setup matrix */ /* clear and setup matrix */