Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.55k stars 571 forks source link

[Question] Where is the code for splitting windows into panes? #2364

Closed 3N4N closed 3 years ago

3N4N commented 3 years ago

This is not a bug report, so I did away with the system info. Sorry if it's a misuse of GitHub Issues. I just wanted to ask where the code for splitting one window into two panes are. My config of cmder works for cmd but not for powershell/pwsh, which is weird.

Anyway, where is the code for splitting panes? I tried to find it through git log history, but it's overwhelming for me.

Maximus5 commented 3 years ago

To answer you I need more info. What is the problem with splitting? And what is the ConEmu version?

3N4N commented 3 years ago

My config has a couple predefined tasks. I didn't define any myself. These were automatically generated. One of them is powershell.

When I duplicate a powershell tab, say PS1, the new powershell tab (PS2) doesn't spawn in the same directory as PS1.

3N4N commented 3 years ago

Okay, so I went through this issue and I realize the problem is that powershell doesn't have %CD% environment variable. I got this documentation, which somehow missed me before.

I'll report back my progress.

3N4N commented 3 years ago

It worked. Thanks for the help and sorry for the trouble.