Long commands retrieved from command history have blank line when wrapped

Apr 18, 2014
252
8
TCC (x64) Version 26.02 Build 42 [26.02.42]
Microsoft Windows 10 Pro (2004) [10.0.19041.388]

I think this problem started with build 42 (possibly a side effect of the fix for no line wraps at the bottom of the screen buffer). It doesn't happen in version 25, but I haven't gone back to build 41 to confirm if it happens there. The problem occurs both in standalone TCC windows and TCC tabs within TCMD.

If there is a long command in the command history which, when recalled is longer than the width of the TCC window, a blank line appears in the command when it wraps. As an example, if I do a directory command for with a file that has a longish path and name...

Code:
d:\>dir /b c:\Windows\System32\DragDropExperienceCommon.dll
DragDropExperienceCommon.dll


Then I make the TCC window narrower such that the above command line has to wrap, and press the UP arrow to retrieve the command from history, a blank line appears:

Code:
d:\>dir /b c:\Windows\System32\DragDropExperienceComm

on.dll
 
Jan 12, 2014
399
7
Switzerland, SO
Here, it works correctly with same system and TCMD version as you, tried in TCC:

history_wrapping.png
 
May 20, 2008
10,679
83
Syracuse, NY, USA
Happens for some; doesn't happen for others. We need to figure out how to MAKE it happen or PREVENT it from happening. Any ideas?

1597936209458.png
 
Jun 26, 2015
10
0
Copied (CTRL-C) in Texteditor (Textpad). If I paste with SHIFT-INS the result is:
1598009209624.png

and when I get the command from history (CURSOR UP):
1598009282564.png

It's only a 'display problem', the command is executed correctly. (ps: unknown command is correct. the programm tf.exe does not exist on that location)
 

Attachments

  • 1598009138061.png
    1598009138061.png
    25.2 KB · Views: 24