Code Monkey home page Code Monkey logo

Comments (3)

kamiyaa avatar kamiyaa commented on May 16, 2024 1

added with 8d6a3b4

You can enable it in joshuto.toml via

show_borders = true

One thing to note is it doesn't draw as nice of a rectangle. It looks more like:

+---------+
|  |  |   |
+---------+

rather than

+--+--+---+
|  |  |   |
+--+--+---+

Feel free to reopen if needed

20210202-233841_swappy

from joshuto.

noib3 avatar noib3 commented on May 16, 2024

It doesn't compile on my machine:

$ cargo install --path=. --force
  Installing joshuto v0.8.5 (/Users/noibe/joshuto)
    Updating crates.io index
   Compiling joshuto v0.8.5 (/Users/noibe/joshuto)
warning: unused imports: `Paragraph`, `Wrap`
 --> src/ui/widgets/tui_worker.rs:4:20
  |
4 | use tui::widgets::{Paragraph, Widget, Wrap};
  |                    ^^^^^^^^^          ^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

error[E0004]: non-exhaustive patterns: `&CopyFileName` not covered
  --> src/commands/key_command.rs:73:15
   |
17 | / pub enum KeyCommand {
18 | |     BulkRename,
19 | |     ChangeDirectory(path::PathBuf),
20 | |     CommandLine(String, String),
...  |
25 | |     CopyFileName,
   | |     ------------ not covered
...  |
68 | |     TabSwitch(i32),
69 | | }
   | |_- `KeyCommand` defined here
...
73 |           match self {
   |                 ^^^^ pattern `&CopyFileName` not covered
   |
   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
   = note: the matched value is of type `&KeyCommand`

warning: unused variable: `clipboard`
  --> src/commands/file_ops.rs:79:14
   |
79 |         for (clipboard, command) in clipboards.iter() {
   |              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clipboard`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: unused variable: `show_icons`
  --> src/fs/entry.rs:24:42
   |
24 |     pub fn from(direntry: &fs::DirEntry, show_icons: bool) -> std::io::Result<Self> {
   |                                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_show_icons`

warning: unused variable: `x`
  --> src/util/input.rs:96:46
   |
96 |         MouseEvent::Press(MouseButton::Left, x, y)
   |                                              ^ help: if this is intentional, prefix it with an underscore: `_x`

warning: variable does not need to be mutable
  --> src/fs/metadata.rs:52:13
   |
52 |         let mut mimetype = None;
   |             ----^^^^^^^^
   |             |
   |             help: remove this `mut`
   |
   = note: `#[warn(unused_mut)]` on by default

error: aborting due to previous error; 5 warnings emitted

For more information about this error, try `rustc --explain E0004`.
error: failed to compile `joshuto v0.8.5 (/Users/noibe/joshuto)`, intermediate artifacts can be found at `/Users/noibe/joshuto/target`

Caused by:
  could not compile `joshuto`

To learn more, run the command again with --verbose.

from joshuto.

kamiyaa avatar kamiyaa commented on May 16, 2024

Should be fixed with 7be7c13

from joshuto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.