Nobuhiro Takasaki wrote:
> Now, it uses "g_coord" to display the cursor.
> For prompt it must be given a log of line numbers.
> Currently, the console is rewinding, the log is broken.
>
> It was modified to give the correct line number.
> Now it will not be broken.
>
> I have always helped in your work.
Looking at this, in the context of the recent changes of the console buffer
use, I wonder if this is the right solution.
> + static void
> +set_console_cursor_position(void)
> +{
> + CONSOLE_SCREEN_BUFFER_INFO i;
> +
> + GetConsoleScreenBufferInfo(g_cbNonTermcap.handle, &i);
> + SetConsoleCursorPosition(g_hConOut, i.dwCursorPosition);
> +}
Always using the position from g_cbNonTermcap seems strange.
Should we not depend on the value of g_fTermcapMode?
--
If they don't keep on exercising their lips, he thought, their brains
start working.
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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.