Comments (7)
Currently, there is no example here but in a dependent crate:
https://github.com/kyren/rlua/blob/master/examples/repl.rs#L40
from rustyline.
Multiline support is enabled by default and there is currently no way to disable it.
from rustyline.
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.
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.
Is there an example of implementing this with rustyline, or does "do it by yourself" mean "not with rustyline"?
from rustyline.
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.
Fixed in version 6.0.0
from rustyline.
Related Issues (20)
- How to test an app that uses rustyline? HOT 5
- Being able to bind Shift+Enter to something else HOT 1
- How to access LineBuffer? HOT 1
- Create a separate crate for KeyEvent management
- New release HOT 1
- v10.1.0 increases the MSRV to 1.62 HOT 9
- MSRV policy HOT 4
- Examples on `master` branch don't compile using latest version HOT 2
- Example on README does not compile HOT 2
- New release? HOT 1
- Multiple lines sent on pty input by `expect` are not seen by process HOT 6
- ExternalPrinter can't handle ASCII control character HOT 5
- How to clear the screen? HOT 2
- Support CSI-u escape sequences
- Impossible testing with pexpect when external printer used HOT 2
- How do I make completion work? HOT 1
- Crash at rustyline-11.0.0/src/keymap.rs:205:18 HOT 2
- Re: Thanks for the detailed bug report. HOT 2
- I don't get the rustyline/examples running. HOT 1
- Could `Validator` also take the cursor position? HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rustyline.