diff options
| author | blasty <peter@haxx.in> | 2026-07-24 16:17:58 +0200 |
|---|---|---|
| committer | blasty <peter@haxx.in> | 2026-07-24 16:17:58 +0200 |
| commit | f4fcf109fa7ef92264b02e6a7a9f9110b2b84dbd (patch) | |
| tree | 6870c78f44d3ce8cfcc9bc7eb642b9cbd16c3fc6 /uv.lock | |
| parent | ux: omit the splash logo when the terminal is too small for it (diff) | |
| download | ida-tui-f4fcf109fa7ef92264b02e6a7a9f9110b2b84dbd.tar.gz ida-tui-f4fcf109fa7ef92264b02e6a7a9f9110b2b84dbd.tar.xz ida-tui-f4fcf109fa7ef92264b02e6a7a9f9110b2b84dbd.zip | |
palette: replace the stock Ctrl+P command palette with real ida-tui actions
The Ctrl+P palette was Textual's stock system commands (change theme / take
screenshot / quit) -- useless for RE. Add an IdaCommands command Provider and set
IdaTui.COMMANDS = {IdaCommands} so the palette lists real actions instead:
goto, find symbol, follow, xrefs, toggle disasm/pseudocode, continuous listing,
hex, rename, retype, comment, define code/func, make data/string, undefine,
toggle opcodes, structs editor, filter, names pane, save, quit -- each with its
keybind as help text, fuzzy-searchable.
App-level actions run directly; cursor-scoped ones (rename/xrefs/comment/...) are
dispatched to the active code view via IdaTui._palette_action (focus + run the
view's action_*), so a palette pick does exactly what the key does.
Verified live over RPC: 'hex' switches view, 'goto' opens the prompt, 'struct'
opens the StructEditor modal, and the stock 'theme' command is gone. Pilot
command_palette scenario: Ctrl+P opens it and a command executes (7/7).
Diffstat (limited to 'uv.lock')
0 files changed, 0 insertions, 0 deletions
