Comments (9)
*Update never mind the anysize patch, it's actually caused by this patch :
https://st.suckless.org/patches/vim_browse/
from neatvi.
from neatvi.
Hello Ali,
Here is how generally it works in unpatched st version and other terminals like xterm, tty, etc.
https://ibb.co/k8XDfht
On the image vi.c is open and cursor moved to line that says "WITH REGARD TO THIS SOFTWARE ..."
then 'o' is pressed. The bottom portion of the screen gets moved down and new line is created. This is just how it should
work, no issue here.
https://ibb.co/nwYd9VJ
This is how the same operation looks like in patched st build with vim_browse. You can see that the "WITH REGARD TO THIS SOFTWARE ..." was "eaten" and instead of bottom part shifting down, the top part moved up instead and now there is also a weird new line at line 0.
from neatvi.
It feels like because vim_browse patch adds a history buffer that is "above" the current displayed characters, it also messes up the line where the '\n' should be created, meaning that '\n' is always inserted on line 0. So if you keep hitting linefeed (enter) the result will look like this: https://ibb.co/grZ3DVD
from neatvi.
from neatvi.
It doesn't.
unpatched: https://ibb.co/5x17Pp4
patched:https://ibb.co/6WQ2LBg
from neatvi.
Either way, I think the terminal is at fault here, I hope the patch maintainer from suckless sees this report here and fixes it, because terminal should not be changing the way basic commands like this work.
from neatvi.
from neatvi.
Fixed by maintainers.
from neatvi.
Related Issues (20)
- ren_placeholder to find character width is wrong HOT 13
- Help with negated char in posix regex HOT 5
- I made your regex 2X faster. HOT 6
- clang warnings HOT 2
- lbuf_pair() is bugged with utf-8 and some other pair character HOT 2
- ^y ^e keys cursor pos mismatch HOT 9
- re_groupcount() is bugged (counting nonsense brackets). HOT 14
- lbuf_replace is utterly slow HOT 8
- ex_line() should be able to escape "|" character HOT 19
- ren_placeholder() is bugged with combining characters HOT 10
- cmd_pipe() is bugged (invalid descriptor -1) HOT 2
- "cw" and last word of line HOT 2
- neatvi & less HOT 1
- Pasting into macOS terminal HOT 2
- rstr is bugged (^$ enclosed match) HOT 2
- macOS fails right now HOT 1
- cant backspace existing characters. how do i fix? HOT 1
- Poor Arabic Support. HOT 9
- automatic syntax detection via shebang HOT 7
- Hebrew diacritical marks do not render HOT 4
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 neatvi.