Comments (7)
Yepp I can reproduce it.
Seems it's connected to this commit in the upstream library gdamore/tcell@761abf6
Only seems to happen with the InputField component of tview 🤔
Will probably take some time and involvement of the library devs to get it fixed. Need to do some more analysis on this.
Good that you have a workaround for now. 😉
from pacseek.
I'm not aware that pacseek (or the library that is being used) can even change the cursor style.
Isn't that even a pure terminal-emulator setting?
Please provide more information:
- Terminal emulator
- Shell
- How/Where did you set up the cursor style
from pacseek.
I wonder if it comes from the Go library..
- st 0.8.5 with the patch
- bash 5.1.016
- see the patch in 1., but it's set via
~/.Xresources
withst.cursorstyle: 3
after applying this patch
from pacseek.
A temporary workaround for me could be this:
$ alias pacseek='pacseek; echo -e -n "\x1b[\x33 q"'
But it would be better for pacseek to not mess up with the cursor in the first place if possible.
from pacseek.
Hey @vaygr
Seems there is no proper way to detect the "current style". See gdamore/tcell#559 (comment)
Setting up the default style in the terminal emulator settings should do the trick.
Now, I don't know if that is an options in st
, but in xfce4-terminal
doing it this way, it works fine.
If not, I'm afraid you'll have to live with the workaround.
from pacseek.
I see.
Well, the above patches do just that. But my assumption is that xfce4-terminal always makes sure the cursor stays as assigned, while st does so only on init.
Thanks for investigating!
from pacseek.
Yeah, I just checked: echo -e -n "\x1b[\x30 q"
has no effect in xfce4-terminal when the cursor set to blinking underline.
from pacseek.
Related Issues (20)
- backspace isn't working on xterm. HOT 5
- Sorting options and filters HOT 2
- [Feature Request] Show PKGBUILD in same window as package details HOT 3
- Error starting pacseek: character set not supported HOT 5
- PKGBUILDs not shown when chaotic-aur repo is enabled HOT 2
- Man page HOT 1
- Add ability to build/install AUR packages without helper (use makepkg) HOT 5
- [Feature request] IgnorePkg and IgnoreGroup HOT 4
- Add background settings to entire window HOT 3
- Unable to use search terms with leading hyphens from the command-line HOT 1
- Error while searching for AUR packages HOT 9
- Weird discoloration with certain values of ${TERM} HOT 2
- [Feature request] Select several packages HOT 1
- Flatpak Support HOT 4
- Make default search to contains instead of startwith HOT 2
- display in light terminal theme HOT 1
- cannot open URLs HOT 5
- [REQUEST] Toggle which repos to search HOT 4
- Issues with non-unicode terminal emulators 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 pacseek.