Where in windows registry the console width is stored?

十年热恋 提交于 2019-12-12 19:04:20

问题


My default console width is 80, but when I look into HKCU\Console there isn't a name that has this value. Only one that has supposedly to do with with is: WindowSize but it has value of 0x190050, that is dec: 1638480. Do the last two digits of it represent value I'm searching for ?


回答1:


In HKCU\Console

0x19 = 25
0x50 = 80
So this is 25x80

In decimal, it's rows times 65,536 plus columns. (25 * 65536) + 80 = 1638480

Documentation is here.



来源:https://stackoverflow.com/questions/10664039/where-in-windows-registry-the-console-width-is-stored

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!