matklad / xshell

Apache License 2.0
675 stars 28 forks source link

v0.2 #47

Closed matklad closed 2 years ago

matklad commented 2 years ago

This is a significant rewrite of xshell. The main change is the switch from global-state API to object based API -- Shell is now a thing and is the gateway to all API.

Motivation is manyfold:

Specific changes:

With the present API, I also feel we should shift from "convenient hacks" to "robust tool". As a first step to that end, stdin is now fed via a dedicated thread, to aviod deadlock.

This is mostly done I think, but I at least need to check this on windows as well.

matklad commented 2 years ago

Thanks for the review @azdavis!

Whats your overall feeling on the direction this is going in?

ngirard commented 2 years ago

(I'm just passing by, but I wanted to say: it's a damn good job guys! Keep going !)

azdavis commented 2 years ago

I like less global state, and renaming the fs functions to be more searchable is good too!

matklad commented 2 years ago

bors r+

bors[bot] commented 2 years ago

Build succeeded: