wavetermdev/waveterm

[Feature]: After press [alt+T] or [alt+N], the work folder should the same as current one.

Opened this issue · 2 comments

Feature description

Current I'm focus on a terminal tab, with work folder "~/develop/linux/driver".
When I press [alt+T] or [alt+N], the work folder of the new one is home.

I'd like to keep the work folder when new tab open.
It's better to add one setting way.

Implementation Suggestion

No response

Anything else?

No response

we implement the "OSC 7" escape sequence to save/restore the current directory. a bunch of prompt libraries add that to the prompt by default, or i can help you with that. once that is set, then Alt+N will open a new terminal in the same directory

Please tell me the detail solution.^_^