add title.
This commit is contained in:
parent
c8a9222749
commit
4c1e020b42
|
@ -6915,7 +6915,8 @@ Screen.prototype.displayImage = function(file, callback) {
|
|||
|
||||
var file = path.resolve(process.cwd(), file);
|
||||
var args = ['w3m', '-T', 'text/html'];
|
||||
var input = '<img align="center" src="file://' + file + '">';
|
||||
var input = '<title>press q to exit</title>'
|
||||
+ '<img align="center" src="file://' + file + '">';
|
||||
var opt = {
|
||||
stdio: ['pipe', 1, 2],
|
||||
env: process.env,
|
||||
|
|
Loading…
Reference in New Issue