pwndbg/caps
peace-maker 3506114d5c
Improve TUI handling and documentation (#2446)
* Fix ansi color truncation in TUI windows

All remaining ansi escape codes after the substring of real characters weren't printed.
This caused some colors to linger over to the next line.

* Add two default TUI layouts

One including the sourcecode section and one without.
The allows to try the TUI quickly by selecting one of the layouts: `layout pwndbg` or `layout pwndbg_code`.

* Don't use \t tabs in context threads section

Horizontal scroll in TUI mode would jump around causing visual glitches. Use spaces instead.

* Add warning when section is in TUI layout but not in 'context-sections'

The section won't be updated automatically on stop.

* Update FEATURES docs including screenshot

* Don't create TUI windows when GDB is compiled without it

Don't stop pwndbg from loading on gdb without tui integration.

* Fix redraw of all windows after toggling TUI mode

When switching back to TUI mode, the contextoutput would be sent before a TUI window's `render` function was called. This caused some sections to be printed normally in the cmd window instead of being sent to their TUI window.

Keep a list of all open context TUI windows and redirect contextoutput for all of them once the first window is rerendered instead of waiting for them to be rendered too.

Also fix the _static_enabled class variable usage.
2024-09-23 01:57:44 +02:00
..
.DS_Store Add screenshots 2016-06-29 22:43:32 +02:00
arguments_getenv.png Add screenshots 2016-06-29 22:43:32 +02:00
arguments_memcpy.png Add screenshots 2016-06-29 22:43:32 +02:00
arguments_sigsetjmp.png Add screenshots 2016-06-29 22:43:32 +02:00
arguments_strcpy.png Add screenshots 2016-06-29 22:43:32 +02:00
arguments_syscall.png Add screenshots 2016-06-29 22:43:32 +02:00
arguments_xtrace_init.png Add screenshots 2016-06-29 22:43:32 +02:00
best.png Add best.jpg and link 2016-06-29 22:43:32 +02:00
config.png Configurable IDA Pro RPC endpoints (#139) 2016-12-14 16:48:55 -06:00
context.png Add screenshots 2016-06-29 22:43:32 +02:00
context_splitting.png [WIP] Context watches expressions (#711) 2020-03-17 12:42:07 +01:00
context_tui.png Improve TUI handling and documentation (#2446) 2024-09-23 01:57:44 +02:00
disasm_taken_after.png Add screenshots 2016-06-29 22:43:32 +02:00
disasm_taken_before.png Add screenshots 2016-06-29 22:43:32 +02:00
disasm_taken_folded.png Add screenshots 2016-06-29 22:43:32 +02:00
disasn_taken_false.png Add screenshots 2016-06-29 22:43:32 +02:00
emulate_vs_disasm.png Add screenshots 2016-06-29 22:43:32 +02:00
emulation_plt.png Add screenshots 2016-06-29 22:43:32 +02:00
emulation_rop.png Add screenshots 2016-06-29 22:43:32 +02:00
heap_arena.png Add screenshots 2016-06-29 22:43:32 +02:00
heap_bins.png Added heap operations (#140) 2016-12-28 14:54:41 -05:00
heap_fake_fast.png Try heap (#744) 2020-04-27 14:02:09 +02:00
heap_fastbins.png Added heap operations (#140) 2016-12-28 14:54:41 -05:00
heap_heap.png Add screenshots 2016-06-29 22:43:32 +02:00
heap_heap2.png Add screenshots 2016-06-29 22:43:32 +02:00
heap_largebins.png Added heap operations (#140) 2016-12-28 14:54:41 -05:00
heap_mallocchunk.png Add screenshots 2016-06-29 22:43:32 +02:00
heap_mp.png Added heap operations (#140) 2016-12-28 14:54:41 -05:00
heap_smallbins.png Added heap operations (#140) 2016-12-28 14:54:41 -05:00
heap_topchunk.png Added heap operations (#140) 2016-12-28 14:54:41 -05:00
heap_try_free.png Try heap (#744) 2020-04-27 14:02:09 +02:00
heap_unsorted.png Added heap operations (#140) 2016-12-28 14:54:41 -05:00
ida_comments.png Add screenshots 2016-06-29 22:43:32 +02:00
ida_function.png Restore ida_function.png to original size 2016-06-29 22:43:32 +02:00
ida_integration.png Add screenshots 2016-06-29 22:43:32 +02:00
leakfind.png Update Leakfind (#620) 2019-04-28 09:14:10 +02:00
procinfo.png Add screenshots 2016-06-29 22:43:32 +02:00
qemu_gef.png Add screenshots 2016-06-29 22:43:32 +02:00
qemu_peda.png Add screenshots 2016-06-29 22:43:32 +02:00
qemu_pwndbg.png Add screenshots 2016-06-29 22:43:32 +02:00
qemu_vanilla.png Add screenshots 2016-06-29 22:43:32 +02:00
rop_grep.png Add screenshots 2016-06-29 22:43:32 +02:00
search.png Add screenshots 2016-06-29 22:43:32 +02:00
telescope.png Add screenshots 2016-06-29 22:43:32 +02:00
telescope_collapsed.png Add screenshots 2016-06-29 22:43:32 +02:00
theme.png Configurable IDA Pro RPC endpoints (#139) 2016-12-14 16:48:55 -06:00
vmmap.png Add screenshots 2016-06-29 22:43:32 +02:00
vmmap2.png Add screenshots 2016-06-29 22:43:32 +02:00
vmmap_pc.png Add screenshots 2016-06-29 22:43:32 +02:00
vmmap_register.png Add screenshots 2016-06-29 22:43:32 +02:00
vmmap_stack.png Add screenshots 2016-06-29 22:43:32 +02:00
windbg.png Add screenshots 2016-06-29 22:43:32 +02:00