$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Reline 1分 Cooking
Search
ima1zumi
November 09, 2023
0
44
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
18k
Exploring Reline: Enhancing Command Line Usability
ima1zumi
1
120
10年物のRailsアプリにキャッチアップ!〜コードを読まずに理解したかった〜
ima1zumi
0
130
RubyKaigiの登壇者一覧ページを作った
ima1zumi
0
490
Relineのその後の生活
ima1zumi
0
250
IRB and Reline Kaigi 2024
ima1zumi
0
23
Exploring Reline: Enhancing Command Line Usability
ima1zumi
3
15k
続・mruby/cにUTF-8 を実装する
ima1zumi
1
37
UTF-8 is coming to mruby/c
ima1zumi
4
5.5k
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
9
690
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
How STYLIGHT went responsive
nonsquared
100
5.9k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
1
70
Why Our Code Smells
bkeepers
PRO
340
57k
How to train your dragon (web standard)
notwaldorf
97
6.4k
How GitHub (no longer) Works
holman
316
140k
It's Worth the Effort
3n
187
29k
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モードに切り替え - バッファリングせずプログラム側へすぐ送信される
できあがり!