Skip to content

Crash whith invalid working-dir #890

Open
@silentbat

Description

@silentbat

Error:

---------------------------
Rio: Runtime Error
---------------------------
panicked at frontends\rioterm\src\screen\mod.rs:1501:22:
attempt to calculate the remainder with a divisor of zero

Press Ctrl-C to Copy
---------------------------
OK   
---------------------------

How to replicate:

  • on win10
  • set working-dir in the config to something invalid ("~" for example)
  • start rio (and get the error message)
  • try to close with Alt-F4
  • then instead of pressing enter, press esc (to continue)
  • takes a bit, then error

sometimes i needed to press escape multiple times, but always get this error.

Sorry if this information is insufficient, please tell me what you need. I just started using rio and have no idea whether there is logging.

Nice work on a new terminal, I like it, thank you!


edit:

line of code from the panic: https://github.com/raphamorim/rio/blob/v0.2.2/frontends/rioterm/src/screen/mod.rs#L1501

version from rio -V is rioterm 0.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions