ncurses was broken with tabbar
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Domain
- backend
Research direction
The report points to tabbar redraw calling LEM-SERVER::CHANGE-VIEW-TO-HTML with a LEM/TABBAR::TABBAR-WINDOW while using ncurses. Start by tracing the tabbar window redraw path and how ncurses views are handled. Done means tabbar no longer triggers the reported view type error and ncurses works with tabbar enabled.
Written by the indexing model from the issue text.
Description
error:
The value #<LEM-NCURSES/VIEW:VIEW {1205C95F83}> is not of type LEM-SERVER/VIEW:VIEW
Backtrace for: #<SB-THREAD:THREAD tid=196411 "editor" RUNNING {1204F5B8D3}>
0: (LEM-SERVER::VIEW-ID-HASH #<LEM-NCURSES/VIEW:VIEW {1205C95F83}>)
1: (LEM-SERVER::CHANGE-VIEW-TO-HTML #<LEM/TABBAR::TABBAR-WINDOW {1205C92673}> #<(SIMPLE-ARRAY CHARACTER (4027)) <style>
/* ===== Theme tokens ===== */
:root {
--tab-bg: #181818;
--tab-bg-hover: #252525;
--tab-bg-active: #2d2d2d;
--tab-fg: #8b8b8b;
--tab-fg-active: #e0e0e0;
--tab-border: #2a2a2... {120633800F}>)
2: ((:METHOD LEM-CORE:WINDOW-REDRAW (LEM/TABBAR::TABBAR-WINDOW T)) #<LEM/TABBAR::TABBAR-WINDOW {1205C92673}> #) [fast-method]
3: (LEM-CORE:REDRAW-DISPLAY :FORCE NIL)
4: (LEM-CORE::COMMAND-LOOP-BODY)
5: (LEM-CORE:COMMAND-LOOP)
6: (LEM-CORE::TOPLEVEL-COMMAND-LOOP #<FUNCTION (LAMBDA NIL :IN LEM-CORE::RUN-EDITOR-THREAD) {1205B2C10B}>)
7: ((LAMBDA NIL :IN LEM-CORE::RUN-EDITOR-THREAD))
8: ((LAMBDA NIL :IN LEM-CORE::RUN-EDITOR-THREAD))
9: ((FLET BT2::RUN-FUNCTION :IN BT2::ESTABLISH-DYNAMIC-ENV))
10: ((LABELS BT2::%ESTABLISH-DYNAMIC-ENV-WRAPPER :IN BT2::ESTABLISH-DYNAMIC-ENV))
11: ((FLET SB-UNIX::BODY :IN SB-THREAD::RUN))
12: ((FLET "WITHOUT-INTERRUPTS-BODY-" :IN SB-THREAD::RUN))
13: ((FLET SB-UNIX::BODY :IN SB-THREAD::RUN))
14: ((FLET "WITHOUT-INTERRUPTS-BODY-" :IN SB-THREAD::RUN))
15: (SB-THREAD::RUN)
16: ("foreign function: call_into_lisp_")
17: ("foreign function: funcall1")
i disable tabbar in ncurses in ~/.config/lem/init.isp
(unless (typep (lem:window-view (current-window)) 'lem-server/view:view) (setf lem/tabbar:*enable-tabbar-on-startup* #NIL))
then ncursee can work.
- Dominant language
- Common Lisp
- Stars
- 3.1k
- Forks
- 261
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 133
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lem-project/lem
-
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
lem-project/lem#2525 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
lem-project/lem#2524 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
lem-project/lem#2488 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
lem-project/lem#2369 ·
Maintainers usually reply within 1 day
-
unix-paste-bugOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lem-project/lem#2360 ·
Maintainers usually reply within 1 day
Similar issues
-
v3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
pluginkollektiv/antispam-bee#952 ·
Maintainers usually reply within 1 day
-
PROJECT: website-redesign volunteers
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
thewca/worldcubeassociation.org#16981 ·
Maintainers usually reply within 1 day
-
polish
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
area:core kind:bug priority:p3 ready
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day