File tree 3 files changed +5
-8
lines changed
3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 158
158
0
159
159
(menu (len stack) :draw (fn []
160
160
(print-main-screen :target target
161
- :status-bar F : tile-list 'pickable)))))))
161
+ :tile-list 'pickable)))))))
162
162
(info-screen (get stack tile-ix)))))
163
163
164
164
ShiftHistory (do
336
336
(hy.I.simalq/main.io-mode
337
337
:draw (fn []
338
338
(hy.I.simalq/main.print-main-screen
339
- :target focus :status-bar F : tile-list 'nonpickable))
339
+ :target focus :tile-list 'nonpickable))
340
340
:on-input (fn [key]
341
341
(nonlocal focus)
342
342
(setv dir-v (hy.I.simalq/keyboard.read-dir-key key))
Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ interface elements as lists of `ColorChar`s."
97
97
[target None ]
98
98
; An optional `Pos` to focus the map. Otherwise, we use the
99
99
; player's current position.
100
- [status-bar T]
101
100
[tile-list None ]
102
101
; `None`, or the symbols `pickable` or `nonpickable`
103
102
[inventory F]
@@ -108,10 +107,9 @@ interface elements as lists of `ColorChar`s."
108
107
(setv out [])
109
108
110
109
; The status bar is drawn first.
111
- (when status-bar
112
- (+= out (lfor
113
- line (draw-status-bar )
114
- (colorstr-to-width line width))))
110
+ (+= out (lfor
111
+ line (draw-status-bar )
112
+ (colorstr-to-width line width)))
115
113
(setv status-bar-lines (len out))
116
114
; Then the map, including overmarks.
117
115
(setv focus (or target G.player.pos))
Original file line number Diff line number Diff line change 74
74
(return ))
75
75
76
76
(print-main-screen
77
- :status-bar T
78
77
:messages message-queue
79
78
:overmarks (dfor p ps p (lfor i (range 2 )
80
79
(ColorChar
You can’t perform that action at this time.
0 commit comments