Replies: 2 comments
-
|
Yeah there is a nicer way to do this. You can see it in action in the if (key.matches('n', .{ .ctrl = true })) {
loop.stop();
var child = std.process.Child.init(&.{"nvim"}, alloc);
_ = try child.spawnAndWait();
try loop.start();
try vx.enterAltScreen(tty.anyWriter());
vx.queueRefresh();
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Seems to work with nvim indeed. However, when replacing Not even the first try (code above) was enough, I ended up completely deinitializing vaxis and initializing again after shell terminates. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
using the low level API, I'd like to do something in the shell, then exit back to the TUI.
Is there some elegant way to do this?
Beta Was this translation helpful? Give feedback.
All reactions