browsr icon indicating copy to clipboard operation
browsr copied to clipboard

xonsh shell support

Open anki-code opened this issue 1 year ago • 4 comments

Hi! Thank you for the awesome tool!

Is there a way to use it with the shell i.e. with the python-powered xonsh shell?

Thanks!

For community

⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

anki-code avatar Mar 04 '24 21:03 anki-code

xonsh might not be possible with the textual framework, but this would be very doable with textual-terminal.

Just curious, what would be your recommended UX? I was thinking something like the T keyboard binding that pops up a terminal window on the lower 50% of the screen

juftin avatar Mar 04 '24 22:03 juftin

One issue I can think of is this might not be super intuitive with remote filesystems. I.e. you're looking at a directory via SFTP and you expect ls to return the files you're looking at instead of what's on your local machine

juftin avatar Mar 04 '24 22:03 juftin

Just curious, what would be your recommended UX? I was thinking something like the T keyboard binding that pops up a terminal window on the lower 50% of the screen

Yep, it will be cool.

One issue I can think of is this might not be super intuitive with remote filesystems

For me it's ok to press t and get the terminal for local. It could be improved in the future to ssh to the machine and may be use xxh :)

anki-code avatar Mar 05 '24 10:03 anki-code

To support your project I mentioned browsr on the xxh readme:

image

anki-code avatar Mar 05 '24 10:03 anki-code