Page MenuHome

fix_py_console_autocomplete_cursor_movement.patch

Authored By
Shinsuke Irie (irie)
Nov 13 2013, 5:12 PM
Size
577 B
Subscribers
None

fix_py_console_autocomplete_cursor_movement.patch

Index: release/scripts/modules/console/intellisense.py
===================================================================
--- release/scripts/modules/console/intellisense.py (revision 54783)
+++ release/scripts/modules/console/intellisense.py (working copy)
@@ -148,7 +148,7 @@
if prefix:
line = line[:cursor] + prefix + line[cursor:]
- cursor += len(prefix)
+ cursor += len(prefix.encode('utf-8'))
if no_calltip and prefix.endswith('('):
return expand(line, cursor, namespace, private)
return line, cursor, scrollback

File Metadata

Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0c/0a/884f05aab1726c5f347eaee626a3

Event Timeline