mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-14 06:38:32 +00:00
Change USER_COMMAND_MARK to include escape characters so that the non printing characters are not counted towards prompt length
This commit is contained in:
parent
c7e7e1d884
commit
08297c712b
@ -78,7 +78,7 @@ ARGUMENT_PLACEHOLDER = 'THEFUCK_ARGUMENT_PLACEHOLDER'
|
||||
|
||||
CONFIGURATION_TIMEOUT = 60
|
||||
|
||||
USER_COMMAND_MARK = u'\u200B' * 10
|
||||
USER_COMMAND_MARK = '\\[' + u'\u200B' * 10 + '\\]'
|
||||
|
||||
LOG_SIZE_IN_BYTES = 1024 * 1024
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user