[issue23441] rlcompleter: tab on empty prefix => insert spaces

Martin Panter report at bugs.python.org
Wed Mar 18 10:36:52 CET 2015


Martin Panter added the comment:

I think it would really depend on the particular terminal. Sakura (a Unix terminal using the VTE library, like Gnome Terminal) copied the tab literally:

$ printf 'tab\ttab|sp   sp\n'
tab	tab|sp   sp  <== COPIED
$ hexdump -C
tab	tab|sp   sp  <== PASTED
00000000  74 61 62 09 74 61 62 7c  73 70 20 20 20 73 70 0a  |tab.tab|sp   sp.|
00000010

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23441>
_______________________________________


More information about the Python-bugs-list mailing list