f3d icon indicating copy to clipboard operation
f3d copied to clipboard

comments and colors are not compatible in commands

Open mwestphal opened this issue 9 months ago • 1 comments

Describe the bug It is supposed to be possible to set colors using a dedicated formating using a command set color #000000

However # is the char for comments so the command above doesnt work and it is required to use: set color "#000000" or set color \#000000 to be able to set the color as expected.

To Reproduce Steps to reproduce the behavior:

  1. Open f3d
  2. Press Esc to open the console
  3. set render.background.color #000000
  4. Error

Expected behavior No Error and background change

Suggested Implementation

A way to control the tokenizer and being able to disable comments or control quotes behavior would work, as this could be used in interactive console only.

mwestphal avatar Mar 28 '25 19:03 mwestphal

Fixed by #2469

mwestphal avatar Oct 25 '25 06:10 mwestphal