Giter Club home page Giter Club logo

tui-realm-textarea's Introduction

tui-realm-textarea

~ Textarea component for tui-realm ~

tui-textarea · tui-realm · Documentation

Developed by @veeso

Current version: 1.1.2 (29/08/2023)

License-MIT Repo stars Downloads counter Latest version Ko-fi

CI Docs



About tui-realm-textarea ✏️

tui-realm-textarea is an implementation of a textarea component for tui-realm. It is based on the tui-textarea component by rhysd.

Demo


Get started 🏁

Add tui-realm-textarea to your Cargo.toml 🦀

tui-realm-textarea = "^1.1.0"

Or if you don't use Crossterm, define the backend as you do with tui-realm:

tui-realm-textarea = { version = "^1.1.0", default-features = false, features = [ "with-termion" ] }

Features ⚙️

These features can be enabled in tui-realm-textarea:

  • clipboard enables system clipboard support
  • search enables the string search in the textarea

Examples 📋

View how to use the textarea component in the example. The example contains a simple text editor.

cargo run --example demo --features clipboard,search

Press ESC to quit


Component API

Commands:

Cmd Result Behaviour
Custom($TEXTAREA_CMD_NEWLINE) None Insert newline
Custom($TEXTAREA_CMD_DEL_LINE_BY_END) None Delete line by end to current position
Custom($TEXTAREA_CMD_DEL_LINE_BY_HEAD) None Delete line by head to current position
Custom($TEXTAREA_CMD_DEL_WORD) None Delete the current word
Custom($TEXTAREA_CMD_DEL_NEXT_WORD) None Delete the next word
Custom($TEXTAREA_CMD_MOVE_WORD_FORWARD) None Move to the next word
Custom($TEXTAREA_CMD_MOVE_WORD_BACK) None Move to the previous word
Custom($TEXTAREA_CMD_MOVE_PARAGRAPH_BACK) None Move to the previous paragraph
Custom($TEXTAREA_CMD_MOVE_PARAGRAPH_FORWARD) None Move to the next paragraph
Custom($TEXTAREA_CMD_MOVE_TOP) None Move to the beginning of the file
Custom($TEXTAREA_CMD_MOVE_BOTTOM) None Move to the end of the file
Custom($TEXTAREA_CMD_UNDO) None Undo last change
Custom($TEXTAREA_CMD_REDO) None Redo last change
Custom($TEXTAREA_CMD_PASTE) None Paste the current content of the buffer
Custom($TEXTAREA_CMD_SEARCH_BACK) None Go to the previous search match
Custom($TEXTAREA_CMD_SEARCH_FORWARD) None Go to the next search match
Cancel None Delete next char
Delete None Delete previous char
GoTo(Begin) None Go to the head of the line
GoTo(End) None Go to the end of the line
Move(Down) None Move to the line below
Move(Up) None Move to the line above
Move(Left) None Move cursor to the left
Move(Right) None Move cursor to the right
Scroll(Up) None Move by scroll_step lines up
Scroll(Down) None Move by scroll_step lines down
Type(ch) None Type a char in the editor
Submit Submit Get current lines

❗ Paste command is supported only if the clipboard feature is enabled

State: the state returned is a Vec(String) containing the lines in the text area.

Properties:

  • Borders(Borders): set borders properties for component
  • Custom($TREE_IDENT_SIZE, Size): Set space to render for each each depth level
  • Custom($TEXTAREA_MAX_HISTORY, Payload(One(Usize))): Set the history steps to record
  • Custom($TEXTAREA_CURSOR_STYLE, Style): Set the cursor style
  • Custom($TEXTAREA_CURSOR_LINE_STYLE, Style): Set the current line style
  • Custom($TEXTAREA_FOOTER_FMT, Payload(Tup2(Str, Style))): Set the format and the style for the footer bar
  • Custom($TEXTAREA_LINE_NUMBER_STYLE, Style): set the style for the line number
  • Custom($TEXTAREA_STATUS_FMT, Payload(Tup2(Str, Style))): Set the format and the style for the status bar
  • Custom($TEXTAREA_SEARCH_PATTERN, String: Set search pattern
  • Custom($TEXTAREA_SEARCH_STYLE, Style: Set search style
  • Style(Style): Set the general style for the textarea
  • Custom($TEXTAREA_TAB_SIZE, Size): Set the tab size to display
  • FocusStyle(Style): inactive style
  • ScrollStep(Length): Defines the maximum amount of rows to scroll
  • Title(Title): Set box title

Footer and status format

The status and footer bars support a special syntax. The following keys can be inserted into the string:

  • {ROW}: current row
  • {COL}: current column

Documentation 📚

The developer documentation can be found on Rust Docs at https://docs.rs/tui-realm-textarea


Contributing and issues 🤝🏻

Contributions, bug reports, new features and questions are welcome! 😉 If you have any question or concern, or you want to suggest a new feature, or you want just want to improve tui-realm, feel free to open an issue or a PR.

Please follow our contributing guidelines


Changelog ⏳

View tui-realm-textarea's changelog HERE


Support the developer ☕

If you like tui-realm and you're grateful for the work I've done, please consider a little donation 🥳

You can make a donation with one of these platforms:

ko-fi PayPal


License 📃

tui-realm-textarea is licensed under the MIT license.

You can read the entire license HERE

tui-realm-textarea's People

Contributors

erak avatar imgbotapp avatar veeso avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

erak strowk

tui-realm-textarea's Issues

[BUG] - Demo not compiling

Description

Demo does not compile

Steps to reproduce

cargo run --example demo --features clipboard,search

Expected behaviour

compiles

Environment

  • OS: Opensuse Linux
  • Architecture x64
  • Rust version stable-x86_64-unknown-linux-gnu unchanged - rustc 1.72.1 (d5c2e9c34 2023-09-13)
  • tui-realm-treeview version master branch
 └$ cargo run --example demo --features clipboard,search
   Compiling x11-clipboard v0.7.1
   Compiling tuirealm v1.9.0
   Compiling wl-clipboard-rs v0.7.0
error[E0659]: `style` is ambiguous
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/utils/parser.rs:6:17
  |
6 | use crate::tui::style::Color;
  |                 ^^^^^ ambiguous name
  |
  = note: ambiguous because of multiple glob imports of a name in the same module
note: `style` could refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
  |
6 | pub use ratatui::*;
  |         ^^^^^^^^^^
  = help: consider adding an explicit import of `style` to disambiguate
note: `style` could also refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
  |
8 | pub use tui::*;
  |         ^^^^^^
  = help: consider adding an explicit import of `style` to disambiguate

error[E0659]: `backend` is ambiguous
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/adapter/crossterm/terminal.rs:6:17
  |
6 | use crate::tui::backend::CrosstermBackend;
  |                 ^^^^^^^ ambiguous name
  |
  = note: ambiguous because of multiple glob imports of a name in the same module
note: `backend` could refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
  |
6 | pub use ratatui::*;
  |         ^^^^^^^^^^
  = help: consider adding an explicit import of `backend` to disambiguate
note: `backend` could also refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
  |
8 | pub use tui::*;
  |         ^^^^^^
  = help: consider adding an explicit import of `backend` to disambiguate

error[E0659]: `backend` is ambiguous
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/adapter/crossterm/mod.rs:15:18
   |
15 | use crate::tui::{backend::CrosstermBackend, Frame as TuiFrame, Terminal as TuiTerminal};
   |                  ^^^^^^^ ambiguous name
   |
   = note: ambiguous because of multiple glob imports of a name in the same module
note: `backend` could refer to the module imported here
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
   |
6  | pub use ratatui::*;
   |         ^^^^^^^^^^
   = help: consider adding an explicit import of `backend` to disambiguate
note: `backend` could also refer to the module imported here
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
   |
8  | pub use tui::*;
   |         ^^^^^^
   = help: consider adding an explicit import of `backend` to disambiguate

error[E0659]: `Frame` is ambiguous
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/adapter/crossterm/mod.rs:15:45
   |
15 | use crate::tui::{backend::CrosstermBackend, Frame as TuiFrame, Terminal as TuiTerminal};
   |                                             ^^^^^ ambiguous name
   |
   = note: ambiguous because of multiple glob imports of a name in the same module
note: `Frame` could refer to the struct imported here
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
   |
6  | pub use ratatui::*;
   |         ^^^^^^^^^^
   = help: consider adding an explicit import of `Frame` to disambiguate
note: `Frame` could also refer to the struct imported here
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
   |
8  | pub use tui::*;
   |         ^^^^^^
   = help: consider adding an explicit import of `Frame` to disambiguate

error[E0659]: `Terminal` is ambiguous
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/adapter/crossterm/mod.rs:15:64
   |
15 | use crate::tui::{backend::CrosstermBackend, Frame as TuiFrame, Terminal as TuiTerminal};
   |                                                                ^^^^^^^^ ambiguous name
   |
   = note: ambiguous because of multiple glob imports of a name in the same module
note: `Terminal` could refer to the struct imported here
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
   |
6  | pub use ratatui::*;
   |         ^^^^^^^^^^
   = help: consider adding an explicit import of `Terminal` to disambiguate
note: `Terminal` could also refer to the struct imported here
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
   |
8  | pub use tui::*;
   |         ^^^^^^
   = help: consider adding an explicit import of `Terminal` to disambiguate

error[E0659]: `layout` is ambiguous
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/core/application.rs:7:17
  |
7 | use crate::tui::layout::Rect;
  |                 ^^^^^^ ambiguous name
  |
  = note: ambiguous because of multiple glob imports of a name in the same module
note: `layout` could refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
  |
6 | pub use ratatui::*;
  |         ^^^^^^^^^^
  = help: consider adding an explicit import of `layout` to disambiguate
note: `layout` could also refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
  |
8 | pub use tui::*;
  |         ^^^^^^
  = help: consider adding an explicit import of `layout` to disambiguate

error[E0659]: `layout` is ambiguous
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/core/component.rs:5:17
  |
5 | use crate::tui::layout::Rect;
  |                 ^^^^^^ ambiguous name
  |
  = note: ambiguous because of multiple glob imports of a name in the same module
note: `layout` could refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
  |
6 | pub use ratatui::*;
  |         ^^^^^^^^^^
  = help: consider adding an explicit import of `layout` to disambiguate
note: `layout` could also refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
  |
8 | pub use tui::*;
  |         ^^^^^^
  = help: consider adding an explicit import of `layout` to disambiguate

error[E0659]: `widgets` is ambiguous
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/core/props/borders.rs:8:21
  |
8 | pub use crate::tui::widgets::{BorderType, Borders as BorderSides};
  |                     ^^^^^^^ ambiguous name
  |
  = note: ambiguous because of multiple glob imports of a name in the same module
note: `widgets` could refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
  |
6 | pub use ratatui::*;
  |         ^^^^^^^^^^
  = help: consider adding an explicit import of `widgets` to disambiguate
note: `widgets` could also refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
  |
8 | pub use tui::*;
  |         ^^^^^^
  = help: consider adding an explicit import of `widgets` to disambiguate

error[E0659]: `symbols` is ambiguous
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/core/props/dataset.rs:7:5
  |
7 |     symbols::Marker,
  |     ^^^^^^^ ambiguous name
  |
  = note: ambiguous because of multiple glob imports of a name in the same module
note: `symbols` could refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
  |
6 | pub use ratatui::*;
  |         ^^^^^^^^^^
  = help: consider adding an explicit import of `symbols` to disambiguate
note: `symbols` could also refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
  |
8 | pub use tui::*;
  |         ^^^^^^
  = help: consider adding an explicit import of `symbols` to disambiguate

error[E0659]: `widgets` is ambiguous
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/core/props/dataset.rs:8:5
  |
8 |     widgets::{Dataset as TuiDataset, GraphType},
  |     ^^^^^^^ ambiguous name
  |
  = note: ambiguous because of multiple glob imports of a name in the same module
note: `widgets` could refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
  |
6 | pub use ratatui::*;
  |         ^^^^^^^^^^
  = help: consider adding an explicit import of `widgets` to disambiguate
note: `widgets` could also refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
  |
8 | pub use tui::*;
  |         ^^^^^^
  = help: consider adding an explicit import of `widgets` to disambiguate

error[E0659]: `layout` is ambiguous
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/core/props/layout.rs:5:17
  |
5 | use crate::tui::layout::{Constraint, Direction, Layout as TuiLayout, Margin, Rect};
  |                 ^^^^^^ ambiguous name
  |
  = note: ambiguous because of multiple glob imports of a name in the same module
note: `layout` could refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
  |
6 | pub use ratatui::*;
  |         ^^^^^^^^^^
  = help: consider adding an explicit import of `layout` to disambiguate
note: `layout` could also refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
  |
8 | pub use tui::*;
  |         ^^^^^^
  = help: consider adding an explicit import of `layout` to disambiguate

error[E0659]: `widgets` is ambiguous
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/core/props/shape.rs:6:17
  |
6 | use crate::tui::widgets::canvas::{Line, Map, Rectangle};
  |                 ^^^^^^^ ambiguous name
  |
  = note: ambiguous because of multiple glob imports of a name in the same module
note: `widgets` could refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
  |
6 | pub use ratatui::*;
  |         ^^^^^^^^^^
  = help: consider adding an explicit import of `widgets` to disambiguate
note: `widgets` could also refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
  |
8 | pub use tui::*;
  |         ^^^^^^
  = help: consider adding an explicit import of `widgets` to disambiguate

error[E0659]: `style` is ambiguous
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/core/props/texts.rs:6:17
  |
6 | use crate::tui::style::{Color, Modifier};
  |                 ^^^^^ ambiguous name
  |
  = note: ambiguous because of multiple glob imports of a name in the same module
note: `style` could refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
  |
6 | pub use ratatui::*;
  |         ^^^^^^^^^^
  = help: consider adding an explicit import of `style` to disambiguate
note: `style` could also refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
  |
8 | pub use tui::*;
  |         ^^^^^^
  = help: consider adding an explicit import of `style` to disambiguate

error[E0659]: `layout` is ambiguous
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/core/props/mod.rs:18:21
   |
18 | pub use crate::tui::layout::Alignment;
   |                     ^^^^^^ ambiguous name
   |
   = note: ambiguous because of multiple glob imports of a name in the same module
note: `layout` could refer to the module imported here
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
   |
6  | pub use ratatui::*;
   |         ^^^^^^^^^^
   = help: consider adding an explicit import of `layout` to disambiguate
note: `layout` could also refer to the module imported here
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
   |
8  | pub use tui::*;
   |         ^^^^^^
   = help: consider adding an explicit import of `layout` to disambiguate

error[E0659]: `style` is ambiguous
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/core/props/mod.rs:19:21
   |
19 | pub use crate::tui::style::{Color, Modifier as TextModifiers, Style};
   |                     ^^^^^ ambiguous name
   |
   = note: ambiguous because of multiple glob imports of a name in the same module
note: `style` could refer to the module imported here
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
   |
6  | pub use ratatui::*;
   |         ^^^^^^^^^^
   = help: consider adding an explicit import of `style` to disambiguate
note: `style` could also refer to the module imported here
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
   |
8  | pub use tui::*;
   |         ^^^^^^
   = help: consider adding an explicit import of `style` to disambiguate

error[E0659]: `layout` is ambiguous
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/core/view.rs:5:17
  |
5 | use crate::tui::layout::Rect;
  |                 ^^^^^^ ambiguous name
  |
  = note: ambiguous because of multiple glob imports of a name in the same module
note: `layout` could refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
  |
6 | pub use ratatui::*;
  |         ^^^^^^^^^^
  = help: consider adding an explicit import of `layout` to disambiguate
note: `layout` could also refer to the module imported here
 --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
  |
8 | pub use tui::*;
  |         ^^^^^^
  = help: consider adding an explicit import of `layout` to disambiguate

error[E0659]: `TuiFrame` is ambiguous
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/adapter/crossterm/mod.rs:21:22
   |
21 | pub type Frame<'a> = TuiFrame<'a, CrosstermBackend<Stdout>>;
   |                      ^^^^^^^^ ambiguous name
   |
   = note: ambiguous because of multiple glob imports of a name in the same module
note: `TuiFrame` could refer to the struct imported here
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
   |
6  | pub use ratatui::*;
   |         ^^^^^^^^^^
   = help: consider adding an explicit import of `TuiFrame` to disambiguate
note: `TuiFrame` could also refer to the struct imported here
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
   |
8  | pub use tui::*;
   |         ^^^^^^
   = help: consider adding an explicit import of `TuiFrame` to disambiguate

error[E0659]: `TuiTerminal` is ambiguous
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/adapter/crossterm/mod.rs:24:21
   |
24 | pub type Terminal = TuiTerminal<CrosstermBackend<Stdout>>;
   |                     ^^^^^^^^^^^ ambiguous name
   |
   = note: ambiguous because of multiple glob imports of a name in the same module
note: `TuiTerminal` could refer to the struct imported here
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:6:9
   |
6  | pub use ratatui::*;
   |         ^^^^^^^^^^
   = help: consider adding an explicit import of `TuiTerminal` to disambiguate
note: `TuiTerminal` could also refer to the struct imported here
  --> /home/redhawk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tuirealm-1.9.0/src/tui.rs:8:9
   |
8  | pub use tui::*;
   |         ^^^^^^
   = help: consider adding an explicit import of `TuiTerminal` to disambiguate

For more information about this error, try `rustc --explain E0659`.
error: could not compile `tuirealm` (lib) due to 18 previous errors
warning: build failed, waiting for other jobs to finish...

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.