Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C-support: How to display output in gVim and not vimrun? (Windows 10) #44

Open
aks2161989 opened this issue Dec 30, 2017 · 1 comment
Open
Labels

Comments

@aks2161989
Copy link

I have installed c.vim on both Ubuntu gVim and Windows gVim. When I run a program on Ubuntu, the output is displayed at the bottom. If the program takes user input, it can be entered at the bottom. But in Windows, the output is always displayed in a new cmd called "vimrun"? Is there any way that gVim can show output in gVim itself?

@WolfgangMehner
Copy link
Owner

You can use the map \ro or the menu entry C/C++ -> Run -> output: VIM->buffer->xterm to set the output destination. If the output destination is "buffer", the output is redirected into a buffer. Unfortunately, this will prevent user interaction, see :help csupport-run-output.

The most general way to run a program right now is probably to run the executable using the new terminal feature. I have to yet automate this for the C plug-in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants