I have created a proof-of-concept plugin that hide the console window using api hooking.
https://github.com/char101/vim-hidecmd/ On Fri, Jul 15, 2016 at 8:18 PM, Charles <[email protected]> wrote: > An alternative way without the need to modify vim is to create an > application that hook the CreateProcess function and modify the window > flags. It can be written e.g. in Python using the deviare library. > > On Fri, Jul 15, 2016, 1:33 PM skywind3000 <[email protected]> wrote: > >> Bram: >> >> > I'm not sure if that can be made to work. CTRL-Break sometimes behaves >> > strange. >> > >> > On Unix you would use "kill" to stop the process. On MS-Windows you can >> > use the task manager for this, right? >> > >> > In general I don't mind the flickering, it's feedback that something is >> > happening. (I liked to hear my harddisk rattling, to know how busy it >> > is, SSDs broke that. I liked to hear my modem produce noise, so that I >> > knew what was going over the line. Now I have fiber...). >> > >> >> Yes, ctrl_break is not important, we can stop process by `kill` or `task >> manager`. >> >> I like the modem noise in the old days too, but these feedbacks are sound >> feedback, not graphics feedbacks. >> >> We can see windows users asking for help to hide the cmd window, they >> need to focus on editing, and solutions are everywhere including patch of >> os_win32.c, python/perl script to emulate unix `system()` experience for >> vim. But none of these are perfect (depend on python or need modify >> official source code). >> >> Can we get the ability to choose what ever we like ? >> Could windows gvim users have an option to enable SW_HIDE in `system()` ? >> >> -- >> -- >> You received this message from the "vim_dev" maillist. >> Do not top-post! Type your reply below the text you are replying to. >> For more information, visit http://www.vim.org/maillist.php >> >> --- >> You received this message because you are subscribed to the Google Groups >> "vim_dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
