No line wraps if last line of the screen buffer is reached

Apr 15, 2013
If the last line of the screen buffer is reached, TCC doesn't wrap long lines that exceed the number of characters per row but continues at the beginning of the current line. At least, this happens with the demo version of TCC v26.
To reproduce this, you can set the screen buffer size to 20, for example, press Return 20 times, and type in some random text. The characters at the beginning of the last line are overwritten, as shown in the screen recording. Is this intentional or a bug?

May 20, 2008
Syracuse, NY, USA
Does the same thing happen with CMD ... with PowerShell?

What version of Windows is running? If it's Windows 10, are you using the enhanced console or the legacy console?
Apr 15, 2013
No, that doesn't happen with CMD or PowerShell. It also doesn't matter whether I start TCC directly in the legacy console or in the new Terminal. The screen recording above shows the legacy console (TCC started by calling tcc.exe from the start menu).
I'm using Windows 10,1909
Are you not able to reproduce it?
May 20, 2008
Syracuse, NY, USA
I'm using this (below) and I cannot reproduce it. I use the console; that is, the newer, enhanced console (as opposed to the legacy console, available under Properties\Options). I also tried with Windows Terminal and could not reproduce it.

TCC  26.02.41 x64
Microsoft Windows 10 Pro for Workstations
10.0.18363.959 (1909)


Staff member
May 14, 2008
This is a Windows bug, not TCC. Windows is handling the display, and it is failing to scroll (CMD and Powershell use a different API to write output, which is why they behave differently).

I'll try to come up with a kludge-around for the next build; in the meantime you can tell TCC to use something other than the default color for output. That will make TCC handle the display output instead of Windows, and TCC knows to scroll at the end.
Apr 15, 2013
Thank you for the investigation and the confirmation of the issue. I'll try your suggested workaround to set an explicit output color.
Similar threads
Thread starter Title Forum Replies Date
T VIEW only works from command line Support 14
vefatica `Back quotes` - command line vs. batch file Support 5
Phileosophos Is there any way to open the Take Command options dialog from the command line? Support 8
Phileosophos Command-line Editing Shortkeys That Fail Support 6
D How to use multi-line DO to loop through first level directory names Support 5
D Open Windows 10 Photos app from command line Support 11
Peter Murschall Single-line Do-CMD is a bit uncooperative. Support 6
Jesse Heines Strange Line Wrapping Behavior Support 14
fpefpe How to? command echo in title line/bar Support 2
vefatica Command line DO with no closing parenthesis? Support 9
R Long commands retrieved from command history have blank line when wrapped Support 20
Joe Caverly No blank line in TEXT...ENDTEXT in a LIBRARY function Support 8
R CMDebug, dark theme, current line Support 7
vefatica IDE - when breakpoint is on a blank line? Support 3
D Double Quote in TC Tool Bar Button Command line Support 3
Joe Caverly Expand all aliases on the command line Support 2
vefatica How do I do this with a multiple-line DO? Support 7
Jay Sage Cannot Postion Cursor in Command Line Using Mouse Support 7
vefatica Windows 10 and line wrapping selection? Support 6
vefatica IDE.EXE's command line? Support 19
x13 TPIPE /REPLACE - Remove line (including EOL) Support 3
D btm file command line augments comparing for string or math. Support 12
D Grabbing html text with @line Support 3
Chen Touboul Overtyping issue - i press the Insert key, help till press enter for new line in TCC Support 2
vefatica FFIND and multi-line regular expressions Support 4
P Escape key no longer clears command line in v24 Support 21
J File explorer handling from command line? Support 2
M Ctrl-C when using command line history does nothing Support 2
M Command line parsing differences between cmd.exe and TCC Support 6
C Replace 1st argument on command line Support 4
vefatica Library functions and line continuations? Support 4
Joe Caverly Works in debugger, not from cmd line Support 1
P No linefeed on last line of console window Support 2
K Command Line Selection Not Working Support 12
J Error running Python at command line Support 9
Joe Caverly PSHELL Blank Line Display Support 2
rps How to? Alias/Command line use of *log on/off Support 2
x13 //directive ignored on TCC command-line Support 4
Joe Caverly Unicode, Codepage 437, and line characters Support 3
J How to? max. practical command line length? Support 3
mfarah WAD Odd behaviour with command-line arguments on TCMD. Support 7
T Regex engine doesn't recognize native DOS line endings Support 2
thorntonpg F1 on command line The webpage cannot be found Support 5
J Python: TCC command line parsing removes '=' equal sign characters Support 4
L Fixed console line length in Take Command 19? Support 3
C LOG entry for TCMD/TCC command line Support 15
fpefpe Documentation Can the title line of tcmd be set? Support 4
H command line parsing question Support 5
dcantor How to make line numbers fixed width in FFIND Support 11
Joe Caverly How to? Date Range in command line for 7zip /= Support 1

Similar threads