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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Things I learned building a text editor for the terminal

40 点作者 willm超过 1 年前

1 comment

benj111超过 1 年前
&gt;Editors should maintain the visual column offset where possible, meaning they must account for double-width emoji<p>Im confused by this. A terminal is conceptually a grid of rows and columns. A double width char, as the name implies takes up 2 squares in this grid, so maintaining the visual offset would be the path of least resistance.<p>So how is the terminal being modelled, so that this statement isn&#x27;t obvious and automatic.
评论 #37641201 未加载