Initial experiment in adding js support to w3m.
This commit is contained in:
8
buffer.c
8
buffer.c
@@ -49,6 +49,14 @@ newBuffer(int width)
|
||||
#endif
|
||||
n->check_url = MarkAllPages; /* use default from -o mark_all_pages */
|
||||
n->need_reshape = 1; /* always reshape new buffers to mark URLs */
|
||||
|
||||
#ifdef USE_JAVASCRIPT
|
||||
/* Initialize JavaScript state - but don't create context yet */
|
||||
n->js_state = NULL;
|
||||
n->js_document = NULL;
|
||||
n->js_events = NULL;
|
||||
#endif
|
||||
|
||||
return n;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user