Comments (7)
Thanks for the detailed reproducible steps.
Originally, text will be truncated when the width of the window is decreased. It may more sensible to keep the text to prevent data lost.
from terminus.
Thanks! Would be great to keep the text if possible.
from terminus.
@randy3k Reporting that this is still not fixed.
Your commit fixes text disappearing when resizing down (and then scrolling in the downsized view), but when resizing back to a larger width the text disappears.
from terminus.
@monkape actually the text is not truncated. There is a synchronization issue between the process and the screen. The text is not flowing correctly. It may be an upstream issue of winpty. Not really fixable in Terminus.
from terminus.
I see.
What do you think about adding a setting for minimum width (take a look here)?
Or even better, a word_wrap
setting that, when false
, would never decrease the view's width.
That fixes not only this problem, but also text wrapping when resizing a view that's running a never ending program, such as a web server.
before | after |
---|---|
![]() |
![]() |
I keep such terminals in groups to the right of the main view, and often resize them to a really small width in order to focus on the main content. Resizing back messes up the output + the noise can be distracting.
from terminus.
I am happy to support such a setting, but I would set it the default to a smaller number, say 20.
FYI, word_wrap
is set as false
in default.
from terminus.
I am happy to support such a setting, but I would set it the default to a smaller number, say 20.
Great, I'll hit you up with a pull request.
FYI,
word_wrap
is set asfalse
in default.
I guess my wording was a bit off - what I meant was never "wrapping" the terminal content and not sublime's view.
It could be implemented by setting a huge width to the actual terminal (such that sublime's view won't surpass it) and then cropping lines (trimming whitespace) in view to match the longest line. That last bit is necessary to have a sensible horizontal scrollbar size.
from terminus.
Related Issues (20)
- Let's have Terminus menu under Tools -> Packages
- Page Up, Page Down, Ctrl+Home and Ctrl+End in Terminus Build System HOT 1
- Powershell doesn't work properly with ctrl+c
- Contributing HOT 1
- [Fixed] activate a conda environment before calling Python
- Terminus Build System not working for Python since Python v3.11
- autocomplete suggestion
- ANSI escaping not properly for git bash HOT 1
- auto_close does not close based on process return value
- ST 4170 breaks Terminus HOT 4
- Unique .sublime-syntax for terminal views HOT 6
- auto hide terminal if build output is empty HOT 1
- Bright code without color specified results in no bright text
- Terminus flashes when typing when using any monokai pro theme
- Terminus doesn't work at all, outputs "C:\Python312\ -u" at the beginning of an error HOT 1
- Is it possible that when changing projects the path in the terminus panel changes?
- [Feature request] Customize working dir in project settings.
- Terminus not recognized by LSP HOT 1
- Add ctrl+s (Save) to support list of `preserve_keys`
- oh-my-posh colors issue
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 terminus.