fix: improve package management and screen status
- Fix issues in package installation and removal across different platforms (Ubuntu, macOS, Alpine, Arch). - Improve error handling and add sudo support where necessary. - Enhance screen status check to accurately reflect process activity. - Address minor bugs in `db.v`, `done.v`, and `net_test.v`. - Correct minor inconsistencies in package names.
This commit is contained in:
@@ -248,8 +248,11 @@ pub fn (mut db DB) destroy() ! {
|
||||
// get all keys of the db (e.g. per session) can be with a prefix
|
||||
pub fn (mut db DB) keys(prefix_ string) ![]string {
|
||||
// TODO: see get, to fix this one
|
||||
mut files := db.path.list()!
|
||||
if prefix_.len == 0 {
|
||||
return []
|
||||
}
|
||||
|
||||
mut files := db.path.list()!
|
||||
panic('implement ${files}')
|
||||
prefix := texttools.name_fix(prefix_)
|
||||
mut r := db.path.list(recursive: false)!
|
||||
|
||||
Reference in New Issue
Block a user