Comments (13)
@andrewbanchich I've been on a long vacation in the Caribbean so I've lacked time. But I'm gonna catch up with every issue including this. I was close to pushing a fix before I went ✌️
from hyper-statusline.
@stereokai Mind trying the os-windows branch for me? Changed the CWD code but I can't debug myself ✌️
from hyper-statusline.
Well, I am definitely getting icons now, but nothing more. Also if I click any of the two icons on the bottom right corner, nothing happens. When I click the folder icon, Hyper freezes and quickly quits (I'm noting this because so far, every other plugin that made Hyper freeze would just make it hang with high cpu and Hyper would just remain stuck).
from hyper-statusline.
Sadly I can't properly debug this on my own as I don't have Windows.
Do the SVG icons actually reside on that path? Does the status line show up at all?
It appears to be related to __dirname
from hyper-statusline.
The correct path is C:\Users\Tom\.hyper_plugins\node_modules\hyper-statusline\icons
(the slashes are missing), because it seems this: url('${__dirname}/icons/folder.svg');
isn't working. Maybe it needs to be resolved using nodejs path
library?
Also the footer is definitely being created, but it isn't being populated.
from hyper-statusline.
It's weird because logging __dirname
spews out the correct path string: C:\Users\Tom\.hyper_plugins\node_modules\hyper-statusline
However in Chrome (Electron) itself it's always url('C:\Users\Tom\.hyper_plugins\node_modules\hyper-statusline/icons/folder.svg')
from hyper-statusline.
@henrikdahl and regarding the information not being populated, the command for cwd definitely won't work on Windows :)
from hyper-statusline.
@stereokai You're definitely right, I wrote that particular code back when Hyper seemed to remain Mac OS only. I'm gonna look into alternatives ✌️
from hyper-statusline.
Sweet, thank you!
from hyper-statusline.
@stereokai Any update on this? Will this be fixed soon? I'd love to use it on Windows but it's not working for me either.
from hyper-statusline.
@henrikdahl Thank you!
from hyper-statusline.
So I've tried multiple methods and the only one that ended up partially working was relying on titles but it was unreliable and afaik Windows doesn't even show the cwd in the title on most setups anyways.
I heard Hyper might expose a session value for CWD so I'll wait for that.
If you got any other ideas, please let me know. I tried all I can think of ✌️
from hyper-statusline.
See my PR #53 for another attempt at getting the cwd on win32. This again is a work around until it is properly supported by Hyper.
from hyper-statusline.
Related Issues (20)
- Nothing displayed on Windows with Cygwin HOT 3
- Windows 10 Blank Status Line HOT 9
- Feature Request: git dirty indicator for new but untracked files HOT 1
- Git indicators do not update unless one more command is issued (similar to the previous directory update bug)
- The plugin breaks window-snapping for Hyper on Windows 10 HOT 1
- Would love to contribute to this project but I'm confused by the PID usage HOT 4
- Git status not working
- Adjust opacity or contrast for current working directory HOT 2
- Not playing nice with other plugins
- Not Working With Tmux
- Can not install this plugin in Hyper 3.0.0-canary.8 (canary) HOT 1
- dir path not working with powershell on windows 10 HOT 1
- Git information not showing HOT 3
- Causes Hyper to hang when running ts-lint
- statusline not working with fish HOT 6
- japanese dir name is displayed unicode characters HOT 2
- Failed to load with hyperpower
- hyper-statusline causes significant lag in Hyper v3.1.0 HOT 3
- Allow controlling the text size and position of the status line
- Hi, just curious if this plugin has the ability to change the background color? Thanks
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 hyper-statusline.