-
Notifications
You must be signed in to change notification settings - Fork 34
Prompt isn't visible immediately when using tmux
#97
Comments
@ciscohack, can you test the fix by running the code below patch /usr/local/lib/python3.9/site-packages/chromaterm/__main__.py << EOF
45,47c45,48
< # The start of a control string
< SPLIT_CONTROL_STRINGS = (b'\x1b\x50', b'\x1b\x58', b'\x1b\x5d', b'\x1b\x5e',
< b'\x1b\x5f')
---
> # Control strings that have arbitrary lengths
> ANSI_CONTROL_STRINGS_START = (b'\x1b\x50', b'\x1b\x58', b'\x1b\x5d',
> b'\x1b\x5e', b'\x1b\x5f')
> ANSI_CONTROL_STRINGS_END = (b'\x07', b'\x1b\x5c')
322,323c323,325
< # Separator is an incomplete control strings; wait for the rest
< if data_read and separator.startswith(SPLIT_CONTROL_STRINGS):
---
> # Separator is an incomplete control string; wait for the rest
> if data_read and separator.startswith(ANSI_CONTROL_STRINGS_START) \
> and not separator.endswith(ANSI_CONTROL_STRINGS_END):
EOF This issue was related to |
ChromaTerm v0.9.3 released with a fix for this issue. |
@hSaria Sorry for delay response. I am travelling so not able to test But issue is not about prompt delay.. issue is about latency while reading logs and search. issue was more adverse on iterm2 app but less on hyperterm. Will test it and update you. Can you include more default regex for basic captures for network.. like all type of Interfaces/ Routing protocol/ ACL and some basic Syslog.. Just to give default flavour of regex install and use then people add their own rule later. just a request upto you |
@hSaria I just updated my CT and now everything working flawless. Thanks a lot. you can close the ticket now. Please consider my suggestion or call it request in your future update of this lovely App. "Can you include more default regex for basic captures for network.. like all type of Interfaces/ Routing protocol/ ACL and some basic Syslog.. Just to give default flavour of regex install and use then people add their own rule later. just a request upto you." |
Take a look at the contrib directort of this project. They’re not included in the default config because not many people require them.
… On 16 Jan 2022, at 6:58 am, ciscohack ***@***.***> wrote:
@hSaria I just updated my CT and now everything working flawless. Thanks a lot. you can close the ticket now.
Please consider my suggestion or call it request in your future update of this lovely App.
"Can you include more default regex for basic captures for network.. like all type of Interfaces/ Routing protocol/ ACL and some basic Syslog.. Just to give default flavour of regex install and use then people add their own rule later. just a request upto you."
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.
|
Sure! Thanks |
ChromaTerm version
v0.9.2
Terminal
iTerm2
What's happening?
Originally posted by @ciscohack in #96 (comment)
When using
tmux
, the prompt takes longer to become visible again. Below is a demonstration. When usingct zsh
, it is responsive, but when usingct tmux
, the prompt takes a bit of time to respond.Screen.Recording.2022-01-14.at.14.44.25.mov
This was tested with a default configuration file.
The text was updated successfully, but these errors were encountered: