diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-10-03 08:31:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-10-03 08:31:41 +0400 |
commit | 5568b6308713922b6a9371a4608fd899bc5d1fa4 (patch) | |
tree | ce21ab68cc2aaa85369bff3222a3ddb66da5c31d /source | |
parent | 58fe3435b4ab33698c2239aaa8969e234710c00e (diff) |
console: shift pad-enter now clears the line too.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_console/space_console.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_console/space_console.c b/source/blender/editors/space_console/space_console.c index 88a04197847..5c8d1e84fd5 100644 --- a/source/blender/editors/space_console/space_console.c +++ b/source/blender/editors/space_console/space_console.c @@ -317,6 +317,7 @@ static void console_keymap(struct wmKeyConfig *keyconf) RNA_enum_set(WM_keymap_add_item(keymap, "CONSOLE_OT_delete", BACKSPACEKEY, KM_PRESS, KM_CTRL, 0)->ptr, "type", DEL_PREV_WORD); WM_keymap_add_item(keymap, "CONSOLE_OT_clear_line", RETKEY, KM_PRESS, KM_SHIFT, 0); + WM_keymap_add_item(keymap, "CONSOLE_OT_clear_line", PADENTER, KM_PRESS, KM_SHIFT, 0); #ifdef WITH_PYTHON kmi = WM_keymap_add_item(keymap, "CONSOLE_OT_execute", RETKEY, KM_PRESS, 0, 0); |