godzie44 / BugStalker

Rust debugger for Linux x86-64
MIT License
554 stars 15 forks source link

TUI improvements #7

Closed godzie44 closed 3 months ago

godzie44 commented 5 months ago

There much more improvements that can be maded for TUI mode:

jan-ferdinand commented 5 months ago

It would be nice if the currently “active” line, i.e., the one with the current instruction, was not glued to the bottom of the screen. Being able to see those lines of the function that are about to be executed when hitting “step” or “next” is valuable in my opinion.

This is how I solved essentially the same problem in one of my projects. This approach might not work at all in your situation; I don't know whether you have access to the ratatui Block and the relevant render area, for example.