RE: Full screen in Ed

new topic     » topic index » view thread      » older message » newer message

Tommy Carlier wrote:

> Ed is a text-based, console application and can only show 80
> characters per line.

While this may be true about Ed currently, it is not true about
Win32 Console applications in general.  Win32 Console
applications can change the number of displayed rows and columns.

In the Win32 API, See:

SetConsoleScreenBufferSize and SetConsoleWindowInfo

As long as an appropriate font is selected (unfortunately, there
is no documented API to change the font of a Console window), you
can display however many rows and columns you want.

If the rows or columns exceed the size of the display, Windows
will put scrollbars on the Console window - depending on the type
of application, not always what you would want.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu