Comments (5)
From [email protected] on July 04, 2012 00:24:31
A simple fix that works for me is to only pass the last line of the prompt to readline - however, reading the code, it seems readline fully expects to handle multi-line prompts, so this may have other unintended side-effects. Attaching the patch anyway.
from clink.
From [email protected] on July 04, 2012 00:26:13
oops - correcting some detritus in the patch
Attachment: multiline-prompt.patch
from clink.
From [email protected] on July 06, 2012 04:33:27
This is rather unusual. If I add just one $_ to the prompt then clink will double up just the first line (showing 1.5 prompts essentially). I'll give your patch a shot and see what the deal is. Thanks!
Status: Accepted
from clink.
From [email protected] on July 06, 2012 04:34:11
Owner: [email protected]
from clink.
From [email protected] on July 15, 2012 12:49:53
Fixed in 0.2. Thanks for the help!
Status: Fixed
from clink.
Related Issues (20)
- Windows 11 support HOT 2
- Keys inoperable -- ESC key and shortcut keys for new console feature HOT 4
- Mix Tab function between win and unix HOT 1
- clink under Windows 11 does not seem to properly hook readline HOT 2
- CLink not working on Windows 11 HOT 4
- clink info command not working in cmd in Windows 11 HOT 1
- Issue created by mistake. Feel free to delete it.
- Multiple window management / state HOT 1
- Arrow Key Command History Navigation Not Working Using Windows 10's Built-in 'Touch Keyboard' HOT 2
- Mouse click HOT 8
- Clink doesn't work in `wine cmd` HOT 1
- clink portable file doesnt autocomplete HOT 1
- Copy paste repeats 2nd char HOT 1
- Clink does setup the autorun option correctly when an "if exists"-statement is in autorun Registry Key HOT 5
- Ctrl-D no longer exits HOT 1
- make installer works without admin rights HOT 1
- 🚨 👉 👉 👉 REPO MOVED HOT 5
- Martin are you back? HOT 5
- Is there a flag similar to cmd `/c` used to execute a single command HOT 1
- Cycle Auto-Complete Options HOT 2
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 clink.