Author Topic: Console 24 line limit.  (Read 3156 times)


  • Newbie
  • Posts: 3
Console 24 line limit.
« on: April 24, 2018, 12:44:25 am »

I'm new to Lazarus and Pascal and I've been wanting to write this very basic console program that displays the entire alphabet with each letter in one line.

When I executed it, I noticed that I didn't fully display what was written, it only shows 24 lines.

How do I increase the limit of lines in the terminal console?



  • Hero Member
  • *****
  • Posts: 561
Re: Console 24 line limit.
« Reply #1 on: April 24, 2018, 01:36:15 am »
That's a Windows setting, nothing to do with FPC. Right click on the top header of the command prompt, then choose "properties", then choose "layout", and then under "screen buffer size" set the height value to something larger.


  • Newbie
  • Posts: 3
Re: Console 24 line limit.
« Reply #2 on: April 24, 2018, 02:13:56 am »
I played around with it for a while, and it seems that the displayed lines are limited to the window size instead of the actual buffer.

With this I mean, that for example I have a 500 lines buffer and a window size that only allows to show 25 lines, right? Those 25 lines show the last 25 lines of the program and the other 475 buffer spaces are black lines.

I'll attach some pictues with the maximum window size that my screen allows, and I changed the letters to numbers so it's more visible.

I'm sorry if there's something I'm not getting. Other IDEs I used just printed everything and then you could scroll up and down normally.
« Last Edit: April 24, 2018, 02:19:54 am by DarkDiosito »


  • Hero Member
  • *****
  • Posts: 868
Re: Console 24 line limit.
« Reply #3 on: April 25, 2018, 08:39:27 pm »
The easiest thing would probably be: use a GUI app and design the output as you wish....
Or have fun with this nice console window... it's legal  :D

Maybe you like to try this:
1. Install LAZARUS 1.8.2
2. Load the lpi file (
3. Enjoy your own output window....
« Last Edit: April 30, 2018, 03:49:33 am by RAW »
Windows 7 Pro (x64 Sp1) & Windows XP Pro (x86 Sp3).


  • New Member
  • *
  • Posts: 40
Re: Console 24 line limit.
« Reply #4 on: September 08, 2023, 09:54:27 pm »
How would I use this in another .pas program?


TinyPortal © 2005-2018