home
·
contact
·
privacy
projects
/
plomrogue2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
af8fcb0
)
Don't mark up links that are invisible (= hidden by help display).
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 11 Dec 2020 02:08:10 +0000
(
03:08
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 11 Dec 2020 02:08:10 +0000
(
03:08
+0100)
rogue_chat.html
patch
|
blob
|
history
diff --git
a/rogue_chat.html
b/rogue_chat.html
index 1f690c0d832bd3f27df8661d3f324ad1b5ea27c9..16a27ba68a4b6739615a506b4497088598d80d44 100644
(file)
--- a/
rogue_chat.html
+++ b/
rogue_chat.html
@@
-1215,7
+1215,8
@@
let tui = {
content += this.mode.list_available_modes();
let start_x = 0;
if (!this.mode.has_input_prompt) {
content += this.mode.list_available_modes();
let start_x = 0;
if (!this.mode.has_input_prompt) {
- start_x = this.window_width
+ start_x = this.window_width;
+ this.draw_links = false;
}
terminal.drawBox(0, start_x, terminal.rows, this.window_width);
let [lines, _] = this.msg_into_lines_of_width(content, this.window_width);
}
terminal.drawBox(0, start_x, terminal.rows, this.window_width);
let [lines, _] = this.msg_into_lines_of_width(content, this.window_width);
@@
-1242,6
+1243,7
@@
let tui = {
}
},
full_refresh: function() {
}
},
full_refresh: function() {
+ this.draw_links = true;
this.links = {};
terminal.drawBox(0, 0, terminal.rows, terminal.cols);
this.recalc_input_lines();
this.links = {};
terminal.drawBox(0, 0, terminal.rows, terminal.cols);
this.recalc_input_lines();
@@
-1262,6
+1264,9
@@
let tui = {
if (this.show_help) {
this.draw_help();
}
if (this.show_help) {
this.draw_help();
}
+ if (!this.draw_links) {
+ this.links = {};
+ }
terminal.refresh();
}
}
terminal.refresh();
}
}