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
61
Reline 1分 Cooking
ima1zumi
November 09, 2023
Tweet
Share
More Decks by ima1zumi
See All by ima1zumi
OSSと私たち: Rubyの開発を支える STORES
ima1zumi
2
140
Ruby Taught Me About Under the Hood
ima1zumi
6
20k
Exploring Reline: Enhancing Command Line Usability
ima1zumi
1
150
10年物のRailsアプリにキャッチアップ!〜コードを読まずに理解したかった〜
ima1zumi
0
150
RubyKaigiの登壇者一覧ページを作った
ima1zumi
0
570
Relineのその後の生活
ima1zumi
0
280
IRB and Reline Kaigi 2024
ima1zumi
0
51
Exploring Reline: Enhancing Command Line Usability
ima1zumi
3
15k
続・mruby/cにUTF-8 を実装する
ima1zumi
1
60
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Marketing to machines
jonoalderson
1
5k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Skip the Path - Find Your Career Trail
mkilby
1
88
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
140
Faster Mobile Websites
deanohume
310
31k
Embracing the Ebb and Flow
colly
88
5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
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モードに切り替え - バッファリングせずプログラム側へすぐ送信される
できあがり!