Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
0da892b0e4
1 changed files with 2 additions and 1 deletions
|
|
@ -106,12 +106,13 @@ pub fn curl_response(
|
|||
let w = width.unwrap_or(100);
|
||||
let shell_header = if width.is_none() {
|
||||
"curl -s beta.pogmom.me/?width=$(tput cols);exit 0\n".to_string()
|
||||
//"clear;curl -s beta.pogmom.me/?width=$(tput cols);exit 0\n".to_string()
|
||||
} else {
|
||||
"".to_string()
|
||||
};
|
||||
let shell_footer = if width.is_none() {
|
||||
box_content(
|
||||
&"Did you know‽\nIf you (dangerously) pipe this output to your shell, it autosizes! more interactivity is planned in the future".to_string(),
|
||||
&"Did you know‽\nIf you (dangerously) pipe this output to your shell, it autosizes! more interactivity is planned in the future\nex: `curl -s beta.pogmom.me | bash`".to_string(),
|
||||
w - 4)
|
||||
} else {
|
||||
"".to_string()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue