<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ida-tui.git/TODO, branch main</title>
<subtitle>tui for headless ida</subtitle>
<id>https://git.sl0p.foo/ida-tui.git/atom/TODO?h=main</id>
<link rel='self' href='https://git.sl0p.foo/ida-tui.git/atom/TODO?h=main'/>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/ida-tui.git/'/>
<updated>2026-07-11T20:58:57Z</updated>
<entry>
<title>TODO: opcodes in disas view done</title>
<updated>2026-07-11T20:58:57Z</updated>
<author>
<name>blasty</name>
<email>blasty@local</email>
</author>
<published>2026-07-11T20:58:57Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/ida-tui.git/commit/?id=d0468e46f865af6441189fdffc230e392d03f29c'/>
<id>urn:sha1:d0468e46f865af6441189fdffc230e392d03f29c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>disasm: render opcode bytes (toggle 'o'), padded to widest insn</title>
<updated>2026-07-11T20:58:52Z</updated>
<author>
<name>blasty</name>
<email>blasty@local</email>
</author>
<published>2026-07-11T20:58:52Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/ida-tui.git/commit/?id=17b8c95b948d4fe2d38cac4f80ffa8fb0a750d4f'/>
<id>urn:sha1:17b8c95b948d4fe2d38cac4f80ffa8fb0a750d4f</id>
<content type='text'>
Fetch per-instruction opcode bytes alongside the disasm listing and show
them in a column between the address and the mnemonic. Instruction length
comes from consecutive addresses (variable-length safe: x86 movabs shows
its full 10 bytes); the block over-fetches one instruction for the last
line's boundary, falling back to the function end for the final insn.

The column pads to the widest instruction across the whole function:
_fetch_block tracks a running max, and on load a background scan_bytes()
settles a stable width so padding doesn't jump as blocks stream in.
_op_field is shared by the rendered strip, _line_plain, and search _fmt
so cursor/match offsets stay aligned. 'o' toggles the column.
</content>
</entry>
<entry>
<title>fix input visibility (search/rename) + refresh stale names across history</title>
<updated>2026-07-09T13:36:12Z</updated>
<author>
<name>blasty</name>
<email>blasty@local</email>
</author>
<published>2026-07-09T13:36:12Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/ida-tui.git/commit/?id=6a8e022441c973bbdfb1c4ee0f55373ebf1d1456'/>
<id>urn:sha1:6a8e022441c973bbdfb1c4ee0f55373ebf1d1456</id>
<content type='text'>
- Visibility: #search/#rename/#status were dock:bottom like the Footer and got
  placed on the SAME row (y=39) as the Footer, which drew over them, so the
  typed text was invisible. Drop the docking; they now sit in normal flow just
  above the Footer (y=38). Verified: input region is above the footer.
- Stale names on 'back': a rename only invalidated the current function, so
  popping back to a caller (cached earlier) showed the old name. Add
  Program.bump_names(): a rename bumps a name-generation, clears all disasm block
  caches (disasm names are live), and decompilation is generation-checked and
  force-recompiled lazily on next view. _after_rename now invalidates globally.
- verified: rename a callee, 'back' to the caller shows the new name.
- pilot suite 51/51.
</content>
</entry>
<entry>
<title>preserve scroll offset in jump history (both views)</title>
<updated>2026-07-09T13:14:27Z</updated>
<author>
<name>blasty</name>
<email>blasty@local</email>
</author>
<published>2026-07-09T13:14:27Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/ida-tui.git/commit/?id=cf14ede2310a693cb3163198ab9f4284b7f9ffd3'/>
<id>urn:sha1:cf14ede2310a693cb3163198ab9f4284b7f9ffd3</id>
<content type='text'>
Restoring only the cursor re-derived the viewport via scroll-into-view, so back
landed on the right line but scrolled differently. NavEntry now stores scroll_y
(disasm) and dec_scroll_y/dec_scroll_x (pseudocode); a single _save_current_pos()
snapshots cursor+scroll of both views right before navigating away, and load/show
restore the exact scroll. Disasm defers scroll_to via call_after_refresh (its
virtual_size is only set in _on_primed, so an immediate scroll_to clamps to 0).

Also routes rename's reload through the same save/restore path.
pilot suite 46/46.
</content>
</entry>
</feed>
