Is it possible restore overwrited contents like F7-Selection?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
WiVi71
Posts: 19
Joined: 06 Jan 2020 02:33

Is it possible restore overwrited contents like F7-Selection?

#1 Post by WiVi71 » 27 Nov 2020 14:27

0.gif
0.gif (7.6 KiB) Viewed 4255 times
viewtopic.php?p=34890#p34890

F7-Multiline selector restores the contents behind the selection after the select is done.

I tried DECSCA(\e CSI Ps " q) with DECSC to restore overwrited contents but these ones were not supported on batch.
Is there any other options to restore the previous contents(or float a text temporary without overwrite)?

penpen
Expert
Posts: 2009
Joined: 23 Jun 2013 06:15
Location: Germany

Re: Is it possible restore overwrited contents like F7-Selection?

#2 Post by penpen » 27 Nov 2020 18:06

Using an alternate screen buffer might help you:
https://docs.microsoft.com/en-us/window ... een-buffer.

penpen

jeb
Expert
Posts: 1055
Joined: 30 Aug 2007 08:05
Location: Germany, Bochum

Re: Is it possible restore overwrited contents like F7-Selection?

#3 Post by jeb » 29 Nov 2020 11:32

But there was a bug Bug in vt101 Alternate Screen Buffer?
- Crashes on company-managed computer with Windows 10.0.16299.1625
- Works fine on another one managed by me, with Windows 10.0.19041.84

Post Reply