From cc44f5cf4cfc8cef057c129831734c4b0e334bb2 Mon Sep 17 00:00:00 2001 From: blasty Date: Sat, 25 Jul 2026 19:12:45 +0200 Subject: nav: tell the user something is happening when Esc needs a decompile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Going back to a function that isn't currently decompiled has to decompile it first, and until that lands both panes still show where you were — so Esc read as a no-op and people press it again. action_back now sets a status the moment it pops ("◂ back to …"), which _show_active then upgrades to " — decompiling…" with the spinner overlay up. Verified: immediately after Esc, with no pause at all, the status says decompiling and dec.loading is True; it settles on the target a moment later. Suite 192/0. --- idatui/app.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/idatui/app.py b/idatui/app.py index 3c23784..57ec7df 100644 --- a/idatui/app.py +++ b/idatui/app.py @@ -4077,7 +4077,12 @@ class IdaTui(App): if len(self._nav) > 1: self._nav_seq += 1 # invalidate any navigation still in flight self._nav.pop() - self._open_entry(self._nav[-1], push=False) + # Say something immediately: going back can need a decompile, and + # until it lands the panes still show where you were — with no + # feedback Esc reads as a no-op. + dest = self._nav[-1] + self._status(f"\u25c2 back to {dest.name}\u2026") + self._open_entry(dest, push=False) elif self.query_one("#left", FunctionsPanel).display: table.focus() else: -- cgit v1.3.1-sl0p