Comments (5)
I tried kmscon.
I tried two thing:
terminal_configuration_new.c_cc[VERASE] = "code for backspace"
and
"code for backspace = " = terminal_configuration_old.c_cc[VERASE]
None of them seems to work. I don't know why.
I am using termios in
src/ftxui/component/screen_interactive.cpp
and the event code for backspace is defined in:
src/ftxui/component/screen_interactive.cpp
from ftxui.
Thanks!
Are you sure you typed "BackSpace" and not "Del"?
Maybe this is related to:
http://www.macfreek.nl/memory/Backspace_and_Delete_key_reversed
I made the "input" component to accept both the BackSpace and the Delete key. I also fixed a few bugs.
from ftxui.
yes, I can confirm that I typed same key in xterm.
(ncurses use terminfo for cross-terminal compatiable)
from ftxui.
Closing this old issue. This is a problem for kmscon. I opened:
dvdhrm/kmscon#136
but didn't get an answer within 2 years.
from ftxui.
I added this patch:
#510
from ftxui.
Related Issues (20)
- focus problem HOT 2
- Untidy exit on std::terminate() HOT 1
- Do you have any recommended fonts? The font provided by windows is not very beautiful HOT 2
- How to highlight text inside ftxui::text() or ftxui::paragraph() HOT 1
- Is there a bug between full width characters and vertical?
- Running tests alters the terminal state HOT 2
- The scrollbar doesn't work in the "homescreen.cpp" demo HOT 3
- [feature request] Scatter plots HOT 1
- Dynamically adding elements to Checkboxes HOT 5
- Correctness of layout requirement for flexbox. Scrollbar implementation. HOT 1
- I've tried everything. I need help HOT 1
- Compression priority when rendering a vbox with inadequate space. HOT 2
- lifecycle problem HOT 2
- Final link failed: Bad value HOT 3
- Fix for Visual Studio color and bgcolor unresolved symbols HOT 1
- Modal windows, what am I doing wrong? HOT 2
- Catching events for nested components HOT 2
- window element with light border style HOT 2
- Adding interactive component into a table HOT 4
- CtrlH not work but others CtrlA,CtrlB... can 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 ftxui.