tramhao

Results 154 comments of tramhao

Probably the problem is playingbar running for each song and didn't finish.

Yes, after comment out the content inside playingbar.go:run(), everything seems fine. Probably something wrong inside here.

I think I found the reason. playingbar.skip is never set to true, so the for loop is not ended. When playing, it's not a problem because for loop can be...

Fixed it for now. But I still have too many doubts about this run function. 1. Data cannot be fed into go func(). For example, if I move full:=p.getFull before...

In my scenario, perhaps sorting by Tags could be an option too, like artist. Album nowadays are not so effective as most songs are singles. And about the hot keys,...

> I can see this will be helpful for the beginner but I personally don't like it cluttering the screen. If we were to add this, maybe make it toggle-able...

I tried to debug the problem. I print the focus information from the view function of table, and get following result: ``` current focus:false current focus:false current focus:false current focus:false...

I tested again by remount table first, and then umount popup. This way it works. The borders are rendered correctly and the focus is set all right. This means the...

Sure, the code is as below: https://github.com/tramhao/termusic/blob/dev/src/ui/components/config_editor/view.rs ```rust pub fn umount_config_editor(&mut self) { assert!(self .app .umount(&Id::ConfigEditor(IdConfigEditor::Header)) .is_ok()); assert!(self .app .umount(&Id::ConfigEditor(IdConfigEditor::Footer)) .is_ok()); ...... self.app .umount(&Id::ConfigEditor(IdConfigEditor::Key( IdKey::LibraryRemoveRoot, ))) .ok(); assert!(self .app .remount(...

The above code will have the problem, but after I move the last 7 lines to the top of function, it's all right.