-
Notifications
You must be signed in to change notification settings - Fork 17
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
Backspace key not delete the character #55
Comments
Hello @ciscohack, thanks for using
To figure out why it doesn't work for you I'll need some information about your system and how you're using
Note that this works for me on my machine, so I will need more info from you to be able to say something here.
For now I'm not aware of
Syntax highlighting is built-in since version Let's get back to this after I know what version you're on (question 1 above). |
Hi @walles Thanks for quick response. I am running moar on macOS Big Sur 11.3.1 version. I saw in GitHub page you mentioned that it support chroma based syntax highlighter but due to some reason it's not working for me with BAT tool. Here are the requested data . [praveri@ ~]$ moar --version OS: macOS 11.3.1 20E241 x86_64 Here color highlighted with less pager Here color not highlighted with moar pager |
What is the exact command line you're using to invoke |
Actually, I think the missing highlighting is because If |
Chroma only comes into play if you do |
i used moar and less command to invoke in above screenshot. yes i do use BAT in general. I would appreciate if you make moar compatible with BAT also in future update. But in this case i used moar command only. Delete key issue i corrected with keybinding. |
I forgot to thanks you for such a amazing pager. I really loved it and i can see lot of great potential in it. Thanks once again for this great work! |
So what you're saying is:
Is this correct? Can you try |
Yes, that is what i did in above screenshot you can see. Basically in iterm2 there is a feature to trigger color highlight for keywards i defined and it's working well with less but completely un color in moar. i used pager and log reading a lot and color highlight helps me to read the file faster. I also opened case with BAT tool Dev to see if he can make it app compatible with your pager. |
So Is this what you're using for highlighting? |
Yes this is the method i am using and yes cat also give me color. but now i bind cat with BAT tool. but in all condition i get the colors except moar pager |
I think that |
Leta try and make this tool even better and compatible with more tools |
@walles Hello my friend, i just wanted to understand in moar pager text selection not work? if yes why can we add in future this option also. Now i opened one txt based file with moar and try to grab small chunk of text but selection is not working just noticed |
Mouse selection is #53. Given a number of things you've brought up above my suggestion is this:
That should cover your (and likely many other people's) needs, but still allow mouse scrolling to work out of the box (which isn't necessarily the case with |
First again thanks for the prompt answer and help . i tried moar -compat <filename. indeed this solve selection problem but then with this option. I lost moar other powerful features like search-while type and highlight the searched keyword |
If it was implemented I think it would be a good way to solve both mouse select and your highlighting issue. |
Seems i am not getting now. i able to invoke mouse though -compat switch but this breaking other functionality. Anyway we should work on our documentation also in future. to know more in depth of your amazing tool. Though i am missing some of my daily used feature but still now i am using moar as my daily driver. I have big hope you will bring many stuff in future or compatibility with other great tool like BAT as pager option |
If you run moar with -trace you'll get all handled events listed after moar finishes running. The point would be to be able to debug mishandled keys as reported in #55. Also, remove the screen refresh timings from the trace logs. We get lots of them, and I don't think they provide value any more.
Thanks @walles for keep trying for improvement. I am sharing with you my iterm2 profile setting with color highlight trigger. try with this. it will not work |
Can you just make a screenshot of your triggers config pane like I did? |
And post your iTerm version? |
Here is my iterm2 version screenshot. See here point is your pager is working fine with syntax highlight for programming language and i tested. But as i mentioned i use iterm2 tigger to highlight syslog and any other log files and thats the point moar failed to do the job. |
Yo please load my shared profile. you will get more clarity and do not open any programming file. just open any log file |
So I loaded your profile, ran But it's not highlighted by iTerm. From your description I thought this should be highlighted by iTerm. What exact text could I type in my terminal to get it highlighted using your settings? Is it iTerm, Without knowing this it is impossible for me to know why it doesn't work in |
copy this log in any text file and save then open in terminal .. it will show color WARNING: Failover is enabled but standby IP address is not configured for this interface. |
Lots of sub issues here, let me try to sum this up:
I'll close this issue now in favor of #53 and #63, please continue discussions about those topics in there. In case I missed something in the above list, please open new tickets, with one issue in each if possible! |
Thanks for all your support on this ..looking forward for new features and enhancement |
Just out of curiosity, where did you find |
I use BAT tool and part of that community. So i put a feature request there and one person told me the feature i am looking is in moar tool and immediately i installed. You should maintain it better way. your tool is very early stage and no man page . But i am sure you will soon come up with many cool stuff |
Hi Expert,
In moar pager if accidentally type wrong search keyword and try to delete through backspace or delete key. it's not deleting the character instead every delete key press it create ? symbol. can we fix it and how do we upgrade the moar app for future release. do i need manual download and replace all time. can we add syntax highlighting support in moar app in future
The text was updated successfully, but these errors were encountered: