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
75
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Reline 1分 Cooking
ima1zumi
November 09, 2023
More Decks by ima1zumi
See All by ima1zumi
Is Ruby's Multi-Encoding Overhead Heavy?
ima1zumi
1
2.8k
OSSと私たち: Rubyの開発を支える STORES
ima1zumi
2
170
Ruby Taught Me About Under the Hood
ima1zumi
6
23k
Exploring Reline: Enhancing Command Line Usability
ima1zumi
1
190
10年物のRailsアプリにキャッチアップ!〜コードを読まずに理解したかった〜
ima1zumi
0
180
RubyKaigiの登壇者一覧ページを作った
ima1zumi
0
690
Relineのその後の生活
ima1zumi
0
300
IRB and Reline Kaigi 2024
ima1zumi
0
62
Exploring Reline: Enhancing Command Line Usability
ima1zumi
3
16k
Featured
See All Featured
Scaling GitHub
holman
464
140k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
290
Google's AI Overviews - The New Search
badams
0
1.6k
Building Applications with DynamoDB
mza
96
7.2k
Ruling the World: When Life Gets Gamed
codingconduct
0
310
How to build a perfect <img>
jonoalderson
1
5.9k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
First, design no harm
axbom
PRO
2
1.3k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Making the Leap to Tech Lead
cromwellryan
135
10k
Designing for Timeless Needs
cassininazir
1
460
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モードに切り替え - バッファリングせずプログラム側へすぐ送信される
できあがり!