Comments (3)
As a work-around, you can switch from auto mode to char mode.
I think the thing to do here is when we see a prompt, and we're in auto mode, and we're already in an "editing"
span, switch back to char-mode. Maybe only if the prompt sequence indicates a non-zero edit-mode. Probably not difficult, assuming I can reproduce/test it - adding a delay like I use to test predictive echo might work.
I've been thinking abut how to integrate an input editor (like zle or readline) with readline. For zle
the primary "selection" should be identical with the region, and the clipboard with the kill-buffer, similar to Emacs's integration. Shift combined with navigation keys would extend the selection/region. You'd need a new selection-region mode (in which unshifted arrow keys collapse the region). There are some security complications, at least on a regular browser (Electron or Qt may be different): Reading or writing the clipboard needs to be done in a browser event hander - it can't be done as a result of a request from the application (i.e. zle
). (A work-around is to use xclip
or similar in the server, but that is less portable.)
from domterm.
I'm having problems reproducing this, even when I add the send-delay (in DomTerm.connectWS). Perhaps I need to put in a delay somewhere else.
from domterm.
I think this is a way to trigger the problem: Just type sleep 1
and then starting typing a command before the prompt appears. I think the right thing is in this situation is turn off the _clientWantsEditing
and convert existing input (in the editing
) buffer to pending (tentative) input - after sending it to the client. Working on that.
from domterm.
Related Issues (20)
- DomTerm freezes when using sudo HOT 5
- A new DomTerm/Julia calculator HOT 7
- problems on WebKit/WebKitGtk HOT 5
- Config file example
- Issues with micro and nano HOT 4
- Questions HOT 5
- Sixel glitches HOT 19
- Failure to build wry HOT 6
- Accessibility HOT 1
- issues specific to macOS HOT 1
- QT issues including domterm: unrecognized option '--qtdomterm' HOT 22
- better dark mode styling HOT 22
- easier install on mac? HOT 4
- MacOS build instructions wrong HOT 25
- window list display
- issues with xterm.js support
- domterm 2.9.4 --port doesn't work and is very serious security issue HOT 12
- Please find Christ and/or Nix HOT 2
- Build fails seemingly because of error in configure HOT 6
- The AppImage release says โ'qtdomterm' missingโ or showing an empty Electron window HOT 17
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 domterm.