Reputation: 1358
The up arrow scrolls through command history, but it doesn't work after I launch bash shell.
Upvotes: 25
Views: 12337
Reputation: 2462
Set a switch for -cur_console:p[n]
where n
is the pty mode:
p[N] - pty modes, N - bitmask: 1 - XTermKeys, 2 - BrPaste, 4 - AppCursorKeys; default is 1
from https://conemu.github.io/en/NewConsole.html
Upvotes: 0
Reputation: 1054
Reading through the discussions here. I settled with following value that worked for me
%windir%\system32\bash.exe ~/mnt/ -l -i -cur_console:p1 -new_console:p:n
Upvotes: 1
Reputation: 91
Also, here is a config for Cmder to lunch bash.exe with config given by Kostiantyn Korniyenko just in case.
Upvotes: 5
Reputation: 649
Solution for now is to use next command:
%windir%\system32\bash.exe -cur_console:p
It can be found here on official site.
Worked for me on Cmder as well.
Upvotes: 17