Giter Club home page Giter Club logo

Comments (7)

gwenn avatar gwenn commented on August 29, 2024 2

Currently, there is no example here but in a dependent crate:
https://github.com/kyren/rlua/blob/master/examples/repl.rs#L40

from rustyline.

gwenn avatar gwenn commented on August 29, 2024

Multiline support is enabled by default and there is currently no way to disable it.

from rustyline.

hayd avatar hayd commented on August 29, 2024

How do you enter a multiple line entry? Following the example in the readme...

I was imagining shift+Enter but nothing jumps out in the README, and is there a way to force multiline e.g. if there are open parenthesis?

from rustyline.

gwenn avatar gwenn commented on August 29, 2024

I guess you want #153.
But multiline support in the README means https://github.com/antirez/linenoise#single-line-vs-multi-line-editing or horizontal-scroll-mode=off or set wrap with vim.

from rustyline.

hayd avatar hayd commented on August 29, 2024

Is there an example of implementing this with rustyline, or does "do it by yourself" mean "not with rustyline"?

from rustyline.

RadicalZephyr avatar RadicalZephyr commented on August 29, 2024

In case anybody here is interested, I'm working on true multi-line editing support in #182. Feedback on the proposed API is very much appreciated.

from rustyline.

gwenn avatar gwenn commented on August 29, 2024

Fixed in version 6.0.0

from rustyline.

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.