Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The powershell terminal is a little better than the normal CMD shell, but there's some weird stuff there... Why are they still using the block selection for copy-paste? Never has that been what I wanted


A Slashdot comment (to this link) provided good context why the current console sucks:

http://forums.somethingawful.com/showthread.php?threadid=367...

That's from a ReactOS developer.


Whoa, that was a surprisingly interesting thread. (Not so much the console part, but the other questions he answered.)


It was quite reasonable 25-odd years ago - which, until recently, was probably about when anybody last touched the code...

(To make line-based copying and pasting work I would imagine they had to do some quite invasive surgery at some point... the idea that the window is backed by a screen buffer that's a fixed-size grid of (attribute,character) pairs is exposed quite openly in the API.)


That was fixed by conhost improvements in Windows 10. Selection is line based now.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: