Comments (5)
And there is no way to make it accessible again (no way to make its width non-zero again).
I understand what you mean but technically I found that user can access it again and even make it visible
-
It is still in the nodes tree so I tried to apply
Ctrl+w
several times and I cycled to the invisible split. It is invisible but you can still write there and perform actions: save file, set buffer local options... but I won't make it visible -
Close the fourth split and you will see the third
from micro.
You are right, but I think all that is not so important. What's important is how to fix it. (I assume you agree that this is a bug that needs to be fixed?)
I think we have 2 issues here, likely related to each other:
- We need to ensure (recursively) that when resizing a pane, not only the width of this pane never goes below zero, but also widths of any its child panes never go below zero. E.g. if a vertical split pane has 3 child vertical split panes, then if we resize the parent pane and its width narrows down to 3 characters, we should not allow resizing it further.
- Although micro seemingly implements proportional scaling of child panes when resizing a parent pane, this proportional scaling does not work quite as it should.
from micro.
Hm, from user perspective we could allow resizing till the content isn't visible any longer, but what we shouldn't allow is to resize it that low to hide the split divider, because that's the only anchor for any further access.
from micro.
Yes, that's exactly the issue.
from micro.
- We need to ensure (recursively) that when resizing a pane, not only the width of this pane never goes below zero, but also widths of any its child panes never go below zero. E.g. if a vertical split pane has 3 child vertical split panes, then if we resize the parent pane and its width narrows down to 3 characters, we should not allow resizing it further.
Maybe it can be done by returning from child maximum available space before 0 and if it is smaller that available space to neighbor/screen border...?
from micro.
Related Issues (20)
- Tabmove duplicates tab when tab contains splits HOT 1
- micro shows previous mangled text when scrolling up after resizing the terminal HOT 9
- Proposal: Add relative window coordinates API HOT 4
- [question] Is this project still actively maintained? HOT 4
- Micro sometimes doesn't properly open HOT 12
- `-clean` option doesn't replace folders with proper files
- [BUG 100% reproducible] Crash when creating non-existing file without permissions for it HOT 6
- `Clipboard erorr check` isn't after method that can cause it
- Is it possible to save file to stdin of another program? HOT 1
- Problems with key bindings (using KiTTY) HOT 3
- How to remove the background so it uses the configuration from the terminal? HOT 2
- Pressing `Down` when have "visual multiline selection" moves cursor to the second line of selection instead of end HOT 1
- [Feature request]: autocomplete filetypes
- Help using func (*Buffer) FindNext HOT 2
- `SetActive` doesn't properly work (at least in plugins) HOT 2
- Help using WriteLog() function HOT 7
- Micro do not save file and reopen old file HOT 17
- Does log pane must have one instance? HOT 7
- Micro uses foot's `bright7` color instead of `default` listed in color scheme file HOT 11
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 micro.