New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
moar as pager showing invisible character while viewing a text file #161
Comments
Please open separate tickets for separate issues. |
@walles thanks for the comment. this is not new issue but same issue pink coming from ugrep auto color as I used ugrep to search keywords and parse the output in moar pager. but in the second screenshot, I opened a text file without a wrap and scrolled it to right and grey color picked up by moar from theme should I use "--render-unprintable=whitespace?" like this moar --render-unprintable=whitespace? |
Is there any way for me to reproduce this? |
@walles this option "--render-unprintable=whitespace" solved invisible character issue but if I scroll to the right then empty or blank area filled with grey color Yes you can reproduce by opening any text file and do not use wrap then scroll right to read long text and you will see the issue |
I was talking about reproducing the pink background. Please open another ticket for the wrapping issue. |
@walles pink colour issue disappeared with this option "--render-unprintable=whitespace". so now you can focus on second issue |
But I would like to know where the pink is coming from. Do you have repro instructions? |
OK, Here is the step I was running on my terminal to search traffic flow from src and dst port and the command was ugrep '5080.*5075' <file_name.txt> | moar |
|
@walles No, if I run moar file_name.txt then I don't see pink color but if I scroll to right then the empty area is filled with grey color as shared above. There is no relation with the input file as the input file is just a plain firewall log file having src/dst IP and port details. sorry can't share the log but if you want to reproduce it. then follow below steps -- Use kitty terminal having onedark pro theme. |
I can repro the grey background thingy in Kitty, let me look into that. It works in iTerm2, so I'll just have to make sure to emit ANSI escape codes that work in both. |
Thanks! I see you have closed my previous ticket related to colour style issue I raised... is there any fix update coming for that? I didn't see any update but issue is marked as fixed |
That fix was released with Tickets close when fixes are merged to master rather than on releases going out. This is confusing on my end as well... |
@walles Thanks! Is this release has colour fix also? |
Scrolling right should work in Kitty with that release. Also, using the theme color for not-highlighted files is in there, but it might need |
Thanks a lot |
Hi Johan,
I am sorry for reporting another issue where I am using ugrep to search the pattern in files while paging to moar. moar shows invisible character highlight those with colors and fills the screen with color that looks bad.. can you please fix or hide the invisible characters.
The text was updated successfully, but these errors were encountered: