Moosems

Results 460 comments of Moosems

If I may, I'd recommend using a syntax that doesn't require an if statement in the struct level scope

An idea: ```mojo @value struct SpecialStruct[T, L]: var x: T var y: L @conditional(T, Stringable) fn __str__(self) -> String raises: # Raises in case T does not conform return self.x...

Any progress?

Thanks @JonathonReinhart!

Gonna keep an eye on how this is implemented for a personal project.

I might recommend against xterm so as to make it work better across systems (if Nucleus even works across multiple OS's).

Well you could spawn a subprocess of an actual shell instance so it's much less emulation and more just making a widget to properly interact with it. Of course hooking...

I don't know how VS Code did it because I used VS Code long before I ever installed xterm.