gpakosz / .tmux

🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
MIT License
21.98k stars 3.37k forks source link

Highlighted text not visible during search in msfconsole when using tmux #752

Closed dark-vpr closed 2 months ago

dark-vpr commented 3 months ago

Issue description

I'm experiencing an issue where highlighted text during search in msfconsole is not visible when using tmux. It is not limited to Metasploit Framework (msfconsole) but for various tools like the linpeas script.

Information

To reproduce the issue:

sudo msfconsole
search smbv3

Expected:

The search results with highlighted matches should be displayed within the tmux pane. image

Error in tmux:

The search results are displayed, but the highlighted text for matches is not visible. 352866551-144bb2ff-e65e-41df-af88-835feffe5b43~2

gpakosz commented 3 months ago

Hello @darkvpier 👋

Is it better if you add this line in your .local customization file?

set -g default-terminal "screen-256color" #!important
dark-vpr commented 2 months ago

Hello @darkvpier 👋

Is it better if you add this line in your .local customization file?

set -g default-terminal "screen-256color" #!important

done that, still not working

gpakosz commented 2 months ago

This is very much related to the value of the TERM environment variable and I would expect your problem to reproduce without using Oh my tmux!

dark-vpr commented 2 months ago

This is very much related to the value of the TERM environment variable and I would expect your problem to reproduce without using Oh my tmux!

The problem exist even if I use Tmux without Oh my tmux! is there a fix for it

gpakosz commented 2 months ago

I'm sorry I have no idea