From 1fbec459eb963e00eb595805a58c7d1cc2e43f99 Mon Sep 17 00:00:00 2001
From: Larry <34527442+asciibits@users.noreply.github.com>
Date: Mon, 4 Oct 2021 09:29:53 -0700
Subject: [PATCH] Updated ChromeOS Terminal (markdown)
---
ChromeOS-Terminal.md | 26 +++-----------------------
1 file changed, 3 insertions(+), 23 deletions(-)
diff --git a/ChromeOS-Terminal.md b/ChromeOS-Terminal.md
index 55261a4..ec49365 100644
--- a/ChromeOS-Terminal.md
+++ b/ChromeOS-Terminal.md
@@ -2,28 +2,8 @@ In the terminal:
1. Use the keyboard shortcut CTRL + SHIFT + J to open the JavaScript Console.
2. Copy & paste the following 3 commands:
```
-term_.prefs_.set('font-family', '"Fira Code", "PT Mono", "DejaVu Sans Mono", "Noto Sans Mono", "Everson Mono", FreeMono, Menlo, Terminal, monospace');
-term_.prefs_.set('user-css-text', '* {\n -webkit-font-feature-settings: "liga" on, "calt" on;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n}')
-term_.prefs_.set('user-css', 'https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&display=swap')
+term_.prefs_.set('font-family', '"Fira Code", Cousine, "Roboto Mono", "Source Code Pro", monospace');
+term_.prefs_.set('user-css-text', "x-row { font-feature-settings: 'liga','calt','ss01','ss02','ss03','ss04','ss05','ss06','ss07'; text-rendering: optimizeLegibility; }")
+term_.prefs_.set('user-css', 'https://cdn.jsdelivr.net/npm/firacode@latest/distr/fira_code.min.css')
```
3. There is no step 3!
-
-- Note, there is a bug where you need to push `ctrl-0` to get the cursor to input text at the right place. The following settings fix that bug, but the cursor is still in the wrong place:
-```
-@font-face{
- font-family: "Fira Code";
- src: url('https://raw.githubusercontent.com/tonsky/FiraCode/5.2/distr/woff2/FiraCode-Regular.woff2') format('woff2'),
- url('https://raw.githubusercontent.com/tonsky/FiraCode/5.2/distr/woff/FiraCode-Regular.woff') format('woff'),
- url('https://raw.githubusercontent.com/tonsky/FiraCode/5.2/distr/ttf/FiraCode-Regular.ttf') format('truetype');
- font-weight: normal;
- font-style: normal;
-}
-
-* {
- -webkit-font-feature-settings: "liga" on, "calt" on;
- -webkit-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
- font-family: "Fira Code", "PT Mono", "DejaVu Sans Mono", "Noto Sans Mono", "Everson Mono", FreeMono, Menlo, Terminal, monospace;
-}
-```
-If there are any ideas on how to fix this completely, please add notes on the bug report: https://github.com/tonsky/FiraCode/pull/750
\ No newline at end of file