Skip to content

Commit

Permalink
add °
Browse files Browse the repository at this point in the history
  • Loading branch information
abrudz authored Apr 30, 2019
1 parent a0b1dd6 commit 744de97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lb.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ let fk=x=>{
if(bqm){let i=t.selectionStart,v=t.value,c=bqc[x.key];if(x.which>31){bqm=0;d.body.classList.remove('ngn_bq')}
if(c){t.value=v.slice(0,i)+c+v.slice(i);t.selectionStart=t.selectionEnd=i+1;pd(x);return!1}}
if (!x.ctrlKey && !x.shiftKey && !x.altKey && !x.metaKey) {
if ("`½²^º§ùµ".indexOf(x.key) > -1) {
if ("`½²^º§ùµ°".indexOf(x.key) > -1) {
bqm=1;d.body.classList.add('ngn_bq');pd(x); // ` or other trigger symbol pressed, wait for next key
} else if (x.key == "Tab") {
let i=t.selectionStart,v=t.value,c=tc[v.slice(i-2,i)]
Expand Down

0 comments on commit 744de97

Please sign in to comment.