lnav icon indicating copy to clipboard operation
lnav copied to clipboard

top-of-tree pretty print view treats "\n" in a file path as new line command

Open mmashwani opened this issue 3 years ago • 0 comments

lnav version lnav 0.10.1-211-gc17046b-dirty

Describe the bug I have the following text in a log entry: Executing command (cwd .): chcp 65001 >NUL && echo C:\Program Files (x86)\Google\Chrome\Application\new_chrome.exe

Pretty print view detects the "\n" in the path "Application\new_chrome.exe" as a new line command and deletes the "n" character and moves the rest of the characters on the line to the next line.

To Reproduce I can attach the format file if required.

mmashwani avatar Aug 01 '22 23:08 mmashwani