alphapapa / alphapapa/ement.el

Need to compensate for lack of fringes when using TTY

未關閉
#9 9 則留言 0 個 reaction 已指派 1 人 已被 @alphapapa 認領 在 GitHub 檢視
bug good first issue help wanted
主要語言
Emacs Lisp
星號
604
分支
54
PR 合併指標
30 天內沒有已合併 PR

描述

## Overview

I'm dealing with incorrectly displayed timestamps. Imagine a frame split vertically into two windows, with the same chatroom buffer displayed in them. Timestamps in the left one are missing the last char:

```
┌────────┬─────────┐
│a: hey │a: hey │
│ 12:34:5│ 12:34:56│
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
└────────┴─────────┘
```

Whenever the frame is split vertically into several windows, timestamps are only displayed correctly in the rightmost one.

## Reproducing

0. I ran this in tty, with dimensions 160x57. This may or may not be relevant.

1. Run
```sh
emacs -Q \
-L /usr/share/emacs/site-lisp/dash \
-L /usr/share/emacs/site-lisp/ement \
-L /usr/share/emacs/site-lisp/plz \
-L /usr/share/emacs/site-lisp/s \
-L /usr/share/emacs/site-lisp/ts \
--eval "(require 'ement)" \
--eval "(require 'ement-room-list)"
```
(modulo path to libraries)

2. Eval `(ement-connect "@user:matrix.org" "***")`.

3. Visit a chatroom buffer.

4. Ensure the frame is split vertically into two windows with the same chatroom buffer dispalyed in both of them.

5. Observe incorrectly displayed timestamps in the left window.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。