The interesting thing is that "consoles" in the Microsoft operating system world have had some of this for decades. History is a function of the console I/O system in Win32, not of individual applications each with their own line editing libraries.
Ironically, whilst #Unix and #Linux people are reaching towards what #Win32 has had since the early 1990s, Microsoft is busy getting rid of the very same thing, ironically for compatibility.
https://learn.microsoft.com/en-gb/windows/console/getconsolehistoryinfo
#unix #linux #win32 #consoleio