TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Who prefers box or underscore as a cursor option?

2 点作者 adnauseum超过 3 年前
This morning I was configuring an app and it gave me three options for cursor styles: box, underscore and vertical bar.<p>The vertical bar has always made sense with me—it lives in-between letters, for example: when I see &quot;test|ing&quot; I know that my cursor is in-between the final &quot;t,&quot; but before &quot;i.&quot; If I type &quot;X&quot; I&#x27;ll get: &quot;testXing.&quot;<p>By contrast, in this app the box cursor is like this: &quot;test[i]ng&quot; and if I type &quot;X,&quot; it&#x27;s not obvious to me that I&#x27;ll get &quot;testXing&quot; instead of &quot;testiXng.&quot;<p>I get that this is a matter of preference, but I&#x27;m curious to know why underscore and box would be preferable to vertical bar.<p>---<p>Here&#x27;s images of the same cursor placement, but different styles:<p>- Example of vertical bar: https:&#x2F;&#x2F;user-images.githubusercontent.com&#x2F;24446573&#x2F;156610316-47df7923-744a-4b14-a23a-ddbac873ba59.png<p>- Example of underscore: https:&#x2F;&#x2F;user-images.githubusercontent.com&#x2F;24446573&#x2F;156610217-120f96f8-2f82-4577-8a02-67458d663841.png<p>- Example of box: https:&#x2F;&#x2F;user-images.githubusercontent.com&#x2F;24446573&#x2F;156609948-4f814ef6-9a30-4cfe-9db7-1ddbe75ec051.png

暂无评论

暂无评论