Skip to content

Commit 745d778

Browse files
committed
Add getmic.ro to frontpage
1 parent bdb5ac6 commit 745d778

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

index.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@
2929

3030
ga('create', 'UA-66418971-2', 'auto');
3131
ga('send', 'pageview');
32+
33+
function selectText(elem) {
34+
if (document.selection) {
35+
var range = document.body.createTextRange();
36+
range.moveToElementText(elem);
37+
range.select();
38+
} else if (window.getSelection) {
39+
var range = document.createRange();
40+
range.selectNode(elem);
41+
window.getSelection().addRange(range);
42+
}
43+
}
3244
</script>
3345
</head>
3446

@@ -56,6 +68,7 @@
5668
<p style="font-weight:bold;" class="lead heading">micro</p>
5769
<p class="lead">a modern and intuitive terminal-based text editor</p>
5870
<p><a class="btn btn-lg btn-success" href="https://github.com/zyedidia/micro/releases/latest" role="button">Download</a></p>
71+
<pre style="max-width:20em;clear:both;text-align:center;margin:0 auto"><code id="selectable" onclick="selectText(this)">curl https://getmic.ro | bash</code></pre><br>
5972
<a class="github-button" href="https://github.com/zyedidia/micro" data-size="large" data-show-count="true" aria-label="Star zyedidia/micro on GitHub">Star</a>
6073
<p><a style='font-size: 16px;' href="https://github.com/zyedidia/micro#installation">See detailed installation instructions</a></p>
6174
</div>
@@ -137,7 +150,7 @@ <h4>Common Keybindings</h4>
137150
<h4>Mouse Support</h4>
138151
<p>Micro has full support for the mouse. This means you can click and drag to select text, double click select by word, and triple click to select by line.</p>
139152

140-
<h4>Terminal Emulator (beta)</h4>
153+
<h4>Terminal Emulator</h4>
141154
<p>Run a real interactive shell from within micro. You could open up a split with code on one side and bash on the other -- all from within micro.</p>
142155
</div>
143156

0 commit comments

Comments
 (0)