mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-24 01:38:54 +00:00
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…
x
Reference in New Issue
Block a user