GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — cli/R/box-styles.R at main · cderv/cli Expand file tree/ Copy pathbox-styles.RMore file actions 80 lines (73 loc) · 1.74 KB / Copy pathbox-styles.RFile metadata and controls80 lines (73 loc) · 1.74 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 box_styles <- function() { styles <- list( single = list( top_left = "\u250c", top_right = "\u2510", bottom_right = "\u2518", bottom_left = "\u2514", vertical = "\u2502", horizontal = "\u2500" ), double = list( top_left = "\u2554", top_right = "\u2557", bottom_right = "\u255d", bottom_left = "\u255a", vertical = "\u2551", horizontal = "\u2550" ), round= list( top_left = "\u256d", top_right = "\u256e", bottom_right = "\u256f", bottom_left = "\u2570", vertical = "\u2502", horizontal = "\u2500" ), "single-double" = list( top_left = "\u2553", top_right = "\u2556", bottom_right = "\u255c", bottom_left = "\u2559", vertical = "\u2551", horizontal = "\u2500" ), "double-single" = list( top_left = "\u2552", top_right = "\u2555", bottom_right = "\u255b", bottom_left = "\u2558", vertical = "\u2502", horizontal = "\u2550" ), classic = list( top_left = "+", top_right = "+", bottom_right = "+", bottom_left = "+", vertical = "|", horizontal = "-" ), none = list( top_left = " ", top_right = " ", bottom_right = " ", bottom_left = " ", vertical = " ", horizontal = " " ) ) ## If the platform is not UTF-8, then we replace the styles that have ## Unicode characters, with the classic style. if (!is_utf8_output()) { for (n in setdiff(names(styles), c("classic", "none"))) { styles[[n]] <- styles[["classic"]] } } do.call(rbind, styles) } #' @export #' @rdname boxx list_border_styles <- function() { rownames(box_styles()) } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |