Comments (2)
So I did a bit of testing, and here are some of the results:
Ctrl + Backspace
produces a Ctrl + W
Shift + Enter
produces an Enter
event (no modifier)
from reedline.
The binding you describe in the initial description should be possible after #580
For the other problems you describe cargo run --example event_listener
can be helpful to see if we are actually able to receive or disambiguate the event
Ctrl + Backspace
produces aCtrl + W
I think this combination can be an artifact of both how the terminal handles it and it is encoded in the basic ASCII representation underlying the ANSI terminal protocol. e.g. on Windows Terminal in WSL2 I can observe Ctrl-H
instead of Ctrl-Backspace
with cargo run --example event_listener
/nu's keybinding listen
as this corresponds to the character that aligns in the Control code block of ASCII
Shift + Enter
produces anEnter
event (no modifier)
This is also very terminal emulator implementation dependent.
from reedline.
Related Issues (20)
- No difference between "cutwordleft" and "cutbigwordleft" HOT 1
- Autocompletion don't take character width into account when wrapping long paths HOT 4
- Bracketed Paste does not preserve newline characters in some terminal HOT 9
- In multiline commands from history, pressing 0 in vi normal mode jumps to the beginning of the last line. HOT 3
- Directory navigation keys in filepath completion HOT 1
- Impossible testing with pexpect HOT 1
- Overflow in completer HOT 2
- Multiple prompt colors HOT 8
- Panic when accepting element from help menu HOT 2
- "Until" keybinding with send empty menu should trigger next action HOT 3
- "Until" keybinding with send menunext/menuprev and single entry should trigger next action
- create buffers with different names to avoid swap clashing in Vim
- `strip-ansi-escapes` new release `v0.1.2` is breaking reedline. HOT 9
- Request for additional keybindings HOT 1
- Cycling between maximize and minimize reprints the prompt on Windows HOT 11
- Vi mode seems incomplete HOT 19
- Select All shortcut with Ctrl A HOT 1
- More granular config for triggering tab completions, and inserting completions HOT 2
- Event for accepting a menu item HOT 3
- Problemes autocompleting/suggesting with underscore or other characters HOT 1
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 reedline.