# Crossterm editing string

**URL:** <https://users.rust-lang.org/t/crossterm-editing-string/52825>\
**Category:** help\
**Created:** [December 15, 2020, 7:56pm UTC](https://users.rust-lang.org/t/crossterm-editing-string/52825 "2020-12-15T19:56:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shiftdevy](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/shiftdevy/32/21098_2.png) [@shiftdevy](https://users.rust-lang.org/u/shiftdevy)\
**Post date:** [December 15, 2020, 7:56pm UTC](https://users.rust-lang.org/t/crossterm-editing-string/52825/1 "2020-12-15T19:56:51Z")

</div>

So, i have any string. Let's take for an example "Example.". I want to copy it into terminal and somehow edit. By edit i mean ability to move right/left on string and edit any part of it. How do i do it, and is crossterm a good option or i should take a look on other crates..?

---

<div class="post-metadata">

**Author:** ![cole-miller](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/cole-miller/32/16722_2.png) [@cole-miller](https://users.rust-lang.org/u/cole-miller)\
**Post date:** [December 15, 2020, 8:10pm UTC](https://users.rust-lang.org/t/crossterm-editing-string/52825/2 "2020-12-15T20:10:32Z")

</div>

[rustyline](https://crates.io/crates/rustyline) might be appropriate? readline is the thing that Bash (along with many other programs) uses to implement interactive shell input; rustyline is a readline alternative written in Rust.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/system/32/51372_2.png) [@system](https://users.rust-lang.org/u/system)\
**Post date:** [March 15, 2021, 8:10pm UTC](https://users.rust-lang.org/t/crossterm-editing-string/52825/3 "2021-03-15T20:10:34Z")

</div>

Closed on March 15, 2021, 8:10pm UTC

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.
