Skip to content
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.

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

Open
ADTC opened this issue Jun 18, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@ADTC
Copy link

ADTC commented Jun 18, 2021

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:

  • OS: Ubuntu 20.04.2 LTS running on WSL (Windows Subsystem for Linux; Windows 10)
  • Terminal Emulator: Xterm from Ubuntu on Windows Terminal
  • tput colors: 256
  • echo $TERM: xterm-256color
  • stty: speed 38400 baud; line = 0; -brkint -imaxbel
  • Do you use tmux/screen or similar tty multiplexer? No. Not that I know of.
@ADTC ADTC added the bug Something isn't working label Jun 18, 2021
@ADTC
Copy link
Author

ADTC commented Jun 18, 2021

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
Copy link
Author

ADTC commented Jun 18, 2021

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant