From 2aa00e36df0624614645fdf5bc17a11869ad71c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Haoran=20S=2E=20Diao=20=28=E5=88=81=E6=B5=A9=E7=84=B6=29?= <0@hairydiode.xyz> Date: Sat, 25 Nov 2023 04:51:41 -0800 Subject: fixed link --- cont/jankime.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cont/jankime.html b/cont/jankime.html index 25d295c..c56766f 100644 --- a/cont/jankime.html +++ b/cont/jankime.html @@ -4,7 +4,7 @@ -------------------------------------------------------------------------------- [SETTITLE]Janky IME [SETDATE]6-29-2023 -UPDATE: This IME is now tmux based, old xdotool version is still here +UPDATE: This IME is now tmux based, old xdotool version is still here UPDATE2: I have created the most cursed thing in existance. Full unicode display and input support in the linux console using only userland bash/busybox and @@ -51,7 +51,7 @@ The Implementation: Input is read with read in a loop - CODE: + CODE: OIFS=$IFS export IFS=""; read -rsn1 i IFS=$OIFS @@ -66,7 +66,7 @@ The Implementation: I then simply run grep ^$code\s, rearrange the columns with awk and sort, then take out the ranking column - CODE: + CODE: opt=$(grep "^$code\s" ~/lang/zh/boshiamy/ibus-boshiamy/boshiamy.txt |\ #remove simplfied grep -v 98|\ @@ -79,7 +79,7 @@ The Implementation: conversion of the input characters from line seperated to space seperated was done for free. However this makes the code less portable - CODE: + CODE: char=$(echo $opt | awk "{print \$1}") ... tmux send-key -t "!" "$char" -- cgit v1.1