0x2c7 / ruby_jard

Just Another Ruby Debugger. Provide a rich Terminal UI that visualizes everything your need, navigates your program with pleasure, stops at matter places only, reduces manual and mental efforts. You can now focus on real debugging.
https://rubyjard.org/
MIT License
844 stars 28 forks source link

[BUG] empty space below the prompt when running in Rails project on WSL/Ubuntu #94

Open ADTC opened 3 years ago

ADTC commented 3 years ago

Describe the bug Jard does not take up the full height of the console window. There is empty space below the prompt.

To Reproduce Steps to reproduce the behavior:

  1. Install jard on a Ruby on Rails project.
  2. Add the jard command somewhere in the project.
  3. Run rails server (and perform action to launch jard if needed).
  4. See jard console.

Expected behavior Jard takes up the full height of the console window.

Screenshots image

Environment:

ADTC commented 3 years ago

Note: After using help and before using list it seems the Terminal is fully aware of the 5 extra lines. But jard is ignoring them:

image

ADTC commented 3 years ago

Looks like this is by design? Perhaps the space could be removed if the screen is too short in height. Why does it have the space anyway?

BTW, AWESOME TOOL! I learnt a lot just by debugging. I just wish there is a way to browse the UI like looking through the list of variables, expanding and collapsing them, hiding the threads list or backtrace list, etc.

Edit: So I noticed pretty much everything is configurable. In the end, the problem is it's not configurable on the fly, and the help command did not point me to this page about configuring it.

I don't know yet if any of the layout options gets rid of the space. Hope so!