sync: sync wip changes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { GetCurrentTerminal, WEBSHELL_VERSION } from '../app'
|
||||
import { GetCurrentTerminal, WEBSHELL_VERSION, VERSION_COMMENT } from '../app'
|
||||
import type { Item } from '../fs/Item'
|
||||
import { Terminal } from '../terminal/Terminal'
|
||||
import type { SimpleStream } from '../utils/SimpleStream'
|
||||
@@ -10,6 +10,10 @@ export class Info extends Program {
|
||||
stdout.emit(`Terminal v${Terminal.Version}\n`)
|
||||
stdout.emit(`Running ${GetCurrentTerminal().GetShell()?.Name} v${GetCurrentTerminal().GetShell()?.Version}\n`)
|
||||
|
||||
// print a comment for the current release if any
|
||||
if (VERSION_COMMENT)
|
||||
stdout.emit(`-> ${VERSION_COMMENT}\n`)
|
||||
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user