From e35779975976c46cb90541e7457950ca6e843246 Mon Sep 17 00:00:00 2001 From: rhysd Date: Sun, 19 Jun 2022 20:45:35 +0900 Subject: [PATCH] rename `multi` example to `split` --- Cargo.toml | 2 +- README.md | 4 ++-- examples/{multi.rs => split.rs} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename examples/{multi.rs => split.rs} (100%) diff --git a/Cargo.toml b/Cargo.toml index e028d8c..1a2b1f1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ name = "editor" required-features = ["crossterm"] [[example]] -name = "multi" +name = "split" required-features = ["crossterm"] [[example]] diff --git a/README.md b/README.md index 7f8ee70..e94d81c 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ text editor can be easily put as part of your TUI application. editor example - [`single_line`](./examples/single_line.rs): Single-line input form with float number validation single line example -- [`multi`](./examples/multi.rs): Two split textareas in a screen and switch them +- [`split`](./examples/split.rs): Two split textareas in a screen and switch them multiple textareas example - [`termion`](./examples/termion.rs): Minimal usage with [termion][] support - [`variable`](./examples/variable.rs): Simple textarea with variable height following the number of lines @@ -485,7 +485,7 @@ loop { } ``` -See [`multi` example](./examples/multi.rs) and [`editor` example](./examples/editor.rs) for working example. +See [`split` example](./examples/split.rs) and [`editor` example](./examples/editor.rs) for working example. ## Contributing to tui-textarea diff --git a/examples/multi.rs b/examples/split.rs similarity index 100% rename from examples/multi.rs rename to examples/split.rs