mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-11 03:25:45 +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 file = path.resolve(process.cwd(), file);
|
||||||
var args = ['w3m', '-T', 'text/html'];
|
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 = {
|
var opt = {
|
||||||
stdio: ['pipe', 1, 2],
|
stdio: ['pipe', 1, 2],
|
||||||
env: process.env,
|
env: process.env,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user