roberthawdon/dfshow

Window width is not reset between directories

roberthawdon opened this issue · 1 comments

Expected Behavior

Pressing the right arrow key shouldn't move the display further than the last character of the longest item in the the current directory.

Current Behavior

The display will move if a large file name is observed in another directory.

Failure Information (for bugs)

Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Load show with a really long file name in a small window
  2. Navigate to another directory (or go back using q)
  3. Press the right arrow key

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • DF-SHOW Version: 0.9.0-beta
  • Operating System: MacOS
  • System Architecture: x86_64
  • Output of uname -a:

Failure Logs

Please include any relevant log snippets or files here.

Fixed in 0.9.1