waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

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

Open myhuman opened this issue 1 year ago • 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

myhuman avatar Oct 25 '24 00:10 myhuman

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

sawka avatar Oct 25 '24 17:10 sawka

Please tell me the detail solution.^_^

myhuman avatar Oct 28 '24 12:10 myhuman