From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [PATCH] Strange behavior of cmd.exe when hammered with clear screen operations from Cygwin program.
Date: Fri, 29 Jul 2016 13:25:00 -0000 [thread overview]
Message-ID: <20160729103927.GB5963@calimero.vinschen.de> (raw)
In-Reply-To: <20160728195135.GC26311@calimero.vinschen.de>
[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]
On Jul 28 21:51, Corinna Vinschen wrote:
> However, the former cursor position in the buffer is still known
> at clear screen time. It's stored in dev_console::dwEnd. So what
> I was thinking about is to check the above situation and then, rather
> then to just keep it as is, move the console window and the cursor
> position up to the line right after the former cursor position, i.e:
>
> After (desired?):
>
> buffer
> +---
> | nonblank
> | nonblank
> | blank
> | blank window
> | > ---+
> | > [] cursor |
> | blank |
> | blank ---+
> | blank
> | blank
> | blank
> | blank
> +---
>
> Does that make sense or am I still missing something?
I applied a patch to perform this action. It's in the latest
2.6.0-0.5 test release I just announced.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-07-29 10:39 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-28 19:44 Kaz Kylheku
2016-07-28 19:51 ` Kaz Kylheku
2016-07-28 19:59 ` Corinna Vinschen
2016-07-28 20:21 ` Corinna Vinschen
2016-07-29 13:25 ` Corinna Vinschen [this message]
2016-07-29 20:51 ` Kaz Kylheku
2016-07-29 21:03 ` Kaz Kylheku
2016-08-01 8:51 ` Corinna Vinschen
2016-08-03 11:55 ` Kaz Kylheku
2016-08-03 12:41 ` Kaz Kylheku
2016-08-03 16:53 ` Corinna Vinschen
-- strict thread matches above, loose matches on Subject: below --
2016-07-27 5:19 Kaz Kylheku
2016-07-27 13:09 ` Kaz Kylheku
2016-07-27 14:32 ` [PATCH] " Kaz Kylheku
2016-07-27 14:35 ` Kaz Kylheku
2016-07-27 15:40 ` Kaz Kylheku
2016-07-27 18:45 ` Corinna Vinschen
2016-07-27 20:36 ` Kaz Kylheku
2016-07-27 21:30 ` Kaz Kylheku
2016-07-28 8:00 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160729103927.GB5963@calimero.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).