style: link and help fixes (#4339)
* style: link and help fixes * fix: tip coloring
This commit is contained in:
parent
b7bf364c09
commit
b634a57de8
3 changed files with 3 additions and 7 deletions
|
|
@ -198,7 +198,7 @@ impl Page {
|
||||||
Text::new(
|
Text::new(
|
||||||
"Starting this version, it's possible to add toggle-able key tooltips",
|
"Starting this version, it's possible to add toggle-able key tooltips",
|
||||||
)
|
)
|
||||||
.color_range(3, 37..=60),
|
.color_range(3, 37..=58),
|
||||||
))]),
|
))]),
|
||||||
ComponentLine::new(vec![ActiveComponent::new(TextOrCustomRender::Text(
|
ComponentLine::new(vec![ActiveComponent::new(TextOrCustomRender::Text(
|
||||||
Text::new("when using the compact-bar.").color_substring(3, "compact-bar"),
|
Text::new("when using the compact-bar.").color_substring(3, "compact-bar"),
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ impl<'a> MainScreen<'a> {
|
||||||
const WARNING_TEXT: &'static str =
|
const WARNING_TEXT: &'static str =
|
||||||
"[*] Connection unencrypted. Consider using an SSL certificate.";
|
"[*] Connection unencrypted. Consider using an SSL certificate.";
|
||||||
const MORE_INFO_TEXT: &'static str = "More info: ";
|
const MORE_INFO_TEXT: &'static str = "More info: ";
|
||||||
const SSL_URL: &'static str = "https://zellij.dev/documentation/web-server-ssl";
|
const SSL_URL: &'static str = "https://zellij.dev/documentation/web-client.html#https";
|
||||||
const HELP_TEXT_WITH_CLICK: &'static str = "Help: Click or Shift-Click to open in browser";
|
const HELP_TEXT_WITH_CLICK: &'static str = "Help: Click or Shift-Click to open in browser";
|
||||||
const HELP_TEXT_SHIFT_ONLY: &'static str = "Help: Shift-Click to open in browser";
|
const HELP_TEXT_SHIFT_ONLY: &'static str = "Help: Shift-Click to open in browser";
|
||||||
pub fn new(
|
pub fn new(
|
||||||
|
|
|
||||||
|
|
@ -49,10 +49,6 @@ pub struct CliArgs {
|
||||||
#[clap(long, value_parser, hide = true, overrides_with = "server")]
|
#[clap(long, value_parser, hide = true, overrides_with = "server")]
|
||||||
pub server: Option<PathBuf>,
|
pub server: Option<PathBuf>,
|
||||||
|
|
||||||
/// Run a web server
|
|
||||||
#[clap(long, value_parser, hide = true, overrides_with = "server")]
|
|
||||||
pub web: Option<String>,
|
|
||||||
|
|
||||||
/// Specify name of a new session
|
/// Specify name of a new session
|
||||||
#[clap(long, short, overrides_with = "session", value_parser = validate_session)]
|
#[clap(long, short, overrides_with = "session", value_parser = validate_session)]
|
||||||
pub session: Option<String>,
|
pub session: Option<String>,
|
||||||
|
|
@ -94,7 +90,7 @@ pub enum Command {
|
||||||
#[clap(name = "setup", value_parser)]
|
#[clap(name = "setup", value_parser)]
|
||||||
Setup(Setup),
|
Setup(Setup),
|
||||||
|
|
||||||
/// Setup zellij and check its configuration
|
/// Run a web server to serve terminal sessions
|
||||||
#[clap(name = "web", value_parser)]
|
#[clap(name = "web", value_parser)]
|
||||||
Web(WebCli),
|
Web(WebCli),
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue