Darren Schroeder
Darren Schroeder
ok, I guess the problem is that `movetolineend` will never fail, same with `movetolinestart`, so I'm guessing you'd never get to the last command in the until.
seems like a reasonable request. i also wish the coloring was maybe just the reverse of whatever the text is. it's so hard to see, but that's a separate issue.
https://github.com/nushell/nushell/pull/14052
Good catch. I think it was what the output type says and then someone changed the functionality but didn't change the output type.
You could probably do this in a hook by calling term query something like this on a supported terminal. ```nushell term query "\e[?996n" --prefix "\e[?997;" --terminator "n" | decode ```...
They're from the linked urls above. It explains how it works.
To be clear, I've never done what you're trying to do. So, this is a bit of trial and error. I'm not sure it'll work at all, but it might....
I think assigning the theme in $env.config.color_config probably won't work unless your `def` is `def --env`. That would probably help. @NotTheDr01ds do you have any advice here?
Yup, that's right. The terminal has to support those ansi escape sequences, otherwise it will wait until you hit ctrl+c.
ya, i agree. this is why i added `default` as a color.