Show package before channel in orbit search
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
44d7ac2346
commit
ec64fb07cf
1 file changed
+2
-2
+2
-2
@@ -785,7 +785,7 @@ fn print_table(rows : Array[Array[String]]) -> Unit {
|
||||
///|
|
||||
async fn cmd_search(ctx : Ctx, term : String) -> Unit raise OrbitError {
|
||||
let rows : Array[Array[String]] = [
|
||||
["CHANNEL", "PACKAGE", "VERSION", "DESCRIPTION"],
|
||||
["PACKAGE", "CHANNEL", "VERSION", "DESCRIPTION"],
|
||||
]
|
||||
let mut listed = 0
|
||||
for ch in ctx.channels {
|
||||
@@ -812,8 +812,8 @@ async fn cmd_search(ctx : Ctx, term : String) -> Unit raise OrbitError {
|
||||
match found[i] {
|
||||
Some(info) =>
|
||||
rows.push([
|
||||
ch.name,
|
||||
r,
|
||||
ch.name,
|
||||
if info.version == "" {
|
||||
"-"
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user