Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Reline 1分 Cooking
Search
ima1zumi
November 09, 2023
0
15
Reline 1分 Cooking
ima1zumi
November 09, 2023
Tweet
Share
More Decks by ima1zumi
See All by ima1zumi
Exploring Reline: Enhancing Command Line Usability
ima1zumi
2
12k
続・mruby/cにUTF-8 を実装する
ima1zumi
1
14
UTF-8 is coming to mruby/c
ima1zumi
4
4.8k
たのしいString
ima1zumi
1
480
Watchから始めるOSS生活
ima1zumi
0
54
String meets Encoding
ima1zumi
2
2.5k
Emojiの正規表現
ima1zumi
0
7
RubyKaigiで話した話
ima1zumi
1
370
漢字が文字コードになる前の話
ima1zumi
0
7
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
502
140k
5 minutes of I Can Smell Your CMS
philhawksworth
200
19k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
12
3.8k
How to Ace a Technical Interview
jacobian
274
23k
Robots, Beer and Maslow
schacon
PRO
157
8.1k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
35
6.3k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.8k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
13
430
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.4k
[RailsConf 2023] Rails as a piece of cake
palkan
35
4.4k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Build The Right Thing And Hit Your Dates
maggiecrowley
28
2.2k
Transcript
Reline 1分 Cooking RubyWorld Conference 2023-11-9 ima1zumi
None
調理人 - ima1zumi - IRB, Reline committer
本日のメニュー - Relineを速くしよう
None
材料 - ターミナルエミュレータ 1個 - Reline 1個
1. 調理済みのRelineを用意します
1. 調理済みのRelineを用意します - 端末入出力のデフォルトはCookedモード(カノニカルモード) - Cookedモードは行編集を受け取る - バックスペース、方向キーなどはCookedモード側で対応 - Relineはカーソル位置などを持っていて自分で処理しているし、複数行編
集が可能なエディタなのでCookedで受け取る必要はない
2. Relineを生にします
2. Relineを生にします - rawモードに切り替え - バッファリングせずプログラム側へすぐ送信される
できあがり!