Malcolm Smith

Results 59 comments of Malcolm Smith

@zadjii-msft Thanks for the pointer, I didn't know about that. Note though that per-process != per-buffer, and the two are not even incompatible with each other. I'd assert that per-buffer...

One way to fix this would be to enumerate all of the links to the file before starting the update, and after the rename for the settings file, repeat this...

As far as `PeekConsoleW`, note we have `PeekConsoleInputW`, but I think the problem Alex is pointing out is there's no way to peek (nonblocking), process events, then consume the events...

Firstly, welcome to github and the terminal project, @BEAClerbois! Just adding to the record some of the information @zadjii-msft is referring to, I tried to implement save/restore of state as...

After sleeping on it, I started remembering even nastier cases about process relationships. Consider pipes: "type foo | more" means saving the state of the "type" command and the "more"...

@JamieGhassibi How would the terminal obtain the directory that is active within the shell processes? I can see how this would work if the session is defined in config, but...

@zadjii-msft I don't think the shells can really restore command history in this case meaningfully. They can save command history, but once multiple tabs/panes are active, the shell has no...

Thanks for the report. I'll probably end up doing the simple thing, but I'm asking in case you can see a "better" alternative. Outside of tee, this would normally be...

That's what `cd -e` does: ``` C:\>cd -? Chdir 1.80 Build 20221126 Changes the current directory. CHDIR [-e] [-license] -e Change to an escaped long path C:\>cd -e c:\ \\?\C:\>cd...

Ouch, you're right, it looks like `-e` is basically useless. As far as I can tell: - Old versions of Windows (pre-10) always allocate current directory using a fixed size...