mirror of
https://github.com/imcarlost/pidcat-repl.git
synced 2026-08-08 23:17:43 -04:00
Merge pull request #30 from mlc/tabs_to_spaces
Replace tabs with four spaces.
This commit is contained in:
@@ -69,6 +69,7 @@ def colorize(message, fg=None, bg=None):
|
|||||||
def indent_wrap(message):
|
def indent_wrap(message):
|
||||||
if width == -1:
|
if width == -1:
|
||||||
return message
|
return message
|
||||||
|
message = message.replace('\t', ' ')
|
||||||
wrap_area = width - header_size
|
wrap_area = width - header_size
|
||||||
messagebuf = ''
|
messagebuf = ''
|
||||||
current = 0
|
current = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user