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
38
Reline 1分 Cooking
ima1zumi
November 09, 2023
Tweet
Share
More Decks by ima1zumi
See All by ima1zumi
Ruby Taught Me About Under the Hood
ima1zumi
6
14k
Exploring Reline: Enhancing Command Line Usability
ima1zumi
1
85
10年物のRailsアプリにキャッチアップ!〜コードを読まずに理解したかった〜
ima1zumi
0
91
RubyKaigiの登壇者一覧ページを作った
ima1zumi
0
410
Relineのその後の生活
ima1zumi
0
230
IRB and Reline Kaigi 2024
ima1zumi
0
15
Exploring Reline: Enhancing Command Line Usability
ima1zumi
3
14k
続・mruby/cにUTF-8 を実装する
ima1zumi
1
29
UTF-8 is coming to mruby/c
ima1zumi
4
5.4k
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Stop Working from a Prison Cell
hatefulcrawdad
270
20k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
124
52k
Unsuck your backbone
ammeep
671
58k
KATA
mclloyd
30
14k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
A Modern Web Designer's Workflow
chriscoyier
694
190k
Balancing Empowerment & Direction
lara
1
390
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
680
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
107
19k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.4k
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モードに切り替え - バッファリングせずプログラム側へすぐ送信される
できあがり!