Comments (4)
You can see some info from contour help
page :
[early-exit-threshold UINT] If the spawned process exits earlier than the given threshold seconds, an error message will be printed and the window not closed immediately.
[default: 6]
This message you see happens only if you try to exit immediately after opening the terminal, so running with contour early-exit-threshold 0
must solve the problem, also, what version of contour are you using?
from contour.
Seems to be 0.3.12.262. Adding the early-exit-threshold argument fixes it, thank you. I'm not sure why this threshold exists though, what is the logic behind it being set at 6 seconds?
from contour.
Seems to be 0.3.12.262. Adding the early-exit-threshold argument fixes it, thank you. I'm not sure why this threshold exists though, what is the logic behind it being set at 6 seconds?
@christianparpart might tell some story about it, i think that it was introduced on the early stage of development for test purposes.
from contour.
Hi @TheTerrior. This was added because it MAY be that whatever application you spawn as main program in your terminal (usually the shell), can exit right at the startup. This leads to the user believing that the terminal is not working, because you don't see that it even was there, and even if you noticed that, the window would be closed too quickly to actually read any potential diagnostic error message, telling you, why the program terminated too quickly.
Contour since then added a guard that prevents too quick terminating apps to also terminate the terminal in order to allow the user to review the screen before finally closing it.
However, on our CI side, we must expect some tests to terminate quickly, so early-exit-threshold SECONDS
was added to to be able to set it to 0
, especially since in test-automation, there'll be no user to trigger input of any form, just to finish the integration-test.
Does this clarify its existence for you? Is there anything that you think might help improving user experience?
from contour.
Related Issues (20)
- Some input gets forwarded to program while in normal mode
- crash using ssh on Windows HOT 9
- Ubuntu 22.04 Debian package missing dependency on libssh2 HOT 2
- normal mode search doesn't turn off keybinds
- Implement xterm's VT extension XTPUSHSGR / XTPOPSGR
- TERM variable no longer set HOT 5
- Dependency missing for Fedora package HOT 5
- Cleanup members of `TerminalState`, `Settings`, and `Terminal`
- throughput performance issue on lines longer than available columns HOT 1
- Unexpected behavior when using 'builtin_box_drawing: false' HOT 1
- Compiling contour 0.4.3.6442 on Gentoo HOT 16
- please support appimage file, the modern command all in AppImage HOT 2
- Normal mode crashes on Windows, when in WSL -> ssh to remote -> tmux
- OSC-8 link storage(?) broken for links generated with aerc colorize HOT 3
- Mac OS Monterey Support HOT 6
- Support AOSP. HOT 1
- Flatpak version out of date HOT 2
- Cannot run after compiling on Mac HOT 3
- `Assertion failed: (_buffer->begin() <= _region.data() && (_region.data() + _region.size()) <= _buffer->end()), function BufferFragment` HOT 1
- Another rendering glitch when using shell history editing features HOT 5
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 contour.