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
mitmproxy may not update macOS Terminal app's window title #6693
Comments
It looks like urwid is very much maintained again, which is awesome to see! 🎉🎉🎉 Could you test urwid with urwid 2.6.6 and report back if there are any issues with mitmproxy? We'd be super duper happy to switch back to vanilla urwid now that my Windows PR has been merged. |
I uninstalled urwid-mitmproxy, installed urwid (version 2.6.7 was installed, and typing-extensions and wcwidth were also installed) and used mitmproxy for a while. |
Great, thanks! I'll test Windows when I get to it these days, so far it looks like we can switch back to stock urwid thanks to @penguinolog's awesome maintenance efforts there! 🙌 |
Problem Description
I usually run mitmproxy on macOS Terminal app. At times when I start mitmproxy, Terminal app's window title shows different directory than the one where I start mitmproxy. It turns out that the directory shown is where I previously ran command like
man
orless
which draws on alternate screen. Just a minor issue, but it's a bit confusing.Steps to reproduce the behavior:
man
orless
to draw on alternate screen.cd
to somewhere else.mitmproxy
. Window title should show the directory at step 2.What I tried and found:
I tried the following code in Urwid Tutorial with urwid-mitmproxy and urwid at the above step 4.
Window title is shown as expected with urwid. The reason of the difference seems to be urwid PR#556. Using this PR's escape sequence, window title is updated with urwid-mitmproxy as well.
Will it be possible to take this urwid fix into urwid-mitmproxy?
Sorry for the report here, urwid-mitmproxy has no issues section.
System Information
Mitmproxy: 10.2.2
Python: 3.12.2
OpenSSL: OpenSSL 3.1.4 24 Oct 2023
Platform: macOS-10.13.6-x86_64-i386-64bit
urwid-mitmproxy: 2.1.2.1
The text was updated successfully, but these errors were encountered: