tiny-pilot / tinypilot

Use your Raspberry Pi as a browser-based KVM.
https://tinypilotkvm.com
MIT License
2.89k stars 244 forks source link

Adjust vertical sizing of paste area #1766

Closed jotaen4tinypilot closed 3 months ago

jotaen4tinypilot commented 3 months ago

Related https://github.com/tiny-pilot/tinypilot/issues/1739. Stacked on https://github.com/tiny-pilot/tinypilot/pull/1764.

This PR adjusts slightly reduces the initial height of the paste area (from ~14 to ~10 lines), and allows the user to resize it vertically.

My thinking is that in many cases people probably only paste in short snippets (such as passwords), so the paste area wouldn’t feel as empty in this “base case”. Users can still conveniently manage longer text by resizing the paste area vertically.

Screenshot 2024-03-29 at 15 34 28

Review on CodeApprove