Jump to content

Colorization of Forge Console appears to cause PUTTY issues


eogen

Recommended Posts

I have recently updated to forge-1.12.2-14.23.4.2759. 

 

At the risk of asking my second stupid question in the last week, it seems that in between 2705 and 2759, the output in the console log got colorized.

 

Whatever tty funkiness that forge is doing to add colors to the log, are causing tty funkiness in PUTTY.  Once, in any given putty session, I have started a minecraft/forge session, any time I attempt to 'paste' into that terminal, the pasted text is preceded by a 0~ and appended by a 1~.  For example, If I attempt to paste "bob", what is pasted is "0~bob1~".

 

This does not happen on a new PUTTY session, nor before starting minecraft/forge interactively.

 

Any idea what may be the cause?  Am I missing something?

 

Thanks in advance.

Link to comment
Share on other sites

I think its more likely that whatever method that is being selected to change the color of the text is making assumptions about the terminal type or control character sequence being used, and that it may work for the tty type that it is being developed in, but not others.

 

Searching online, here is a relevant description of the issue:

https://unix.stackexchange.com/questions/196098/copy-paste-in-xfce4-terminal-adds-0-and-1

 

My suspicion is that the forge console is initiating some color sequence, and not terminating that sequence, leaving the tty in "Bracketed Paste Mode".

Edited by eogen
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.