Running shell apps from textual #165
Replies: 6 comments 10 replies
-
How are you closing vim? ":qa"? |
Beta Was this translation helpful? Give feedback.
-
@artur-shaik I'm also interested in doing something like this. Did you ever figure out how to get it to work? |
Beta Was this translation helpful? Give feedback.
-
I'd love to get this working as well. A way to more or less seamlessly drop into vim and do some editing and then pop back into the application would be great. I don't think I can start it in another window since the application is being run on another server in an ssh session (unless someone knows how to do that?). I've found that dropping directly into vim "works", but I've got to press all the keys twice for them to register. If I call The issue is then resuming application mode, it seems. I've dug into If anyone has any thoughts I'd love to hear them! |
Beta Was this translation helpful? Give feedback.
-
I don't embed into the Textual layout, I launch a new terminal with vi in it to edit code. :wq then saves and exits and control is given back to my app. This is the CSS branch, still learning this I'm sure there are other ways but this is what I have working atm. Note, I'm only testing for gnome atm as that is what I'm using
|
Beta Was this translation helpful? Give feedback.
-
In case it's of interest to anyone, there is now an issue for this: #1093 |
Beta Was this translation helpful? Give feedback.
-
This strategy seems to be working okay for me
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Any hints on execute shell app, like vim, from key event method?
Now using
os.system
orsubprocess
orasyncio.create_subprocess_shell
, when I close vim, textual app stops, I even cannot close it withCtrl-c
Beta Was this translation helpful? Give feedback.
All reactions