File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -573,11 +573,11 @@ def setup_readline() -> str:
573
573
574
574
readline .set_history_length (1000 )
575
575
readline .parse_and_bind ("set enable-bracketed-paste on" ) # Enable paste mode
576
- readline .parse_and_bind ('"\e[A": history-search-backward' )
577
- readline .parse_and_bind ('"\e[B": history-search-forward' )
578
- readline .parse_and_bind ('"\C-r": reverse-search-history' )
579
- readline .parse_and_bind (" \C-e: end-of-line" )
580
- readline .parse_and_bind (" \C-a: beginning-of-line" )
576
+ readline .parse_and_bind (r '"\e[A": history-search-backward' )
577
+ readline .parse_and_bind (r '"\e[B": history-search-forward' )
578
+ readline .parse_and_bind (r '"\C-r": reverse-search-history' )
579
+ readline .parse_and_bind (r' \C-e: end-of-line' )
580
+ readline .parse_and_bind (r' \C-a: beginning-of-line' )
581
581
582
582
return history_file
583
583
You can’t perform that action at this time.
0 commit comments