1
0
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:
= 2024-05-15 20:23:50 +02:00
parent c7e7e1d884
commit 08297c712b

View File

@ -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