mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-11 11:34:20 +00:00
image align=center.
This commit is contained in:
parent
dd0f1cbb70
commit
c8a9222749
@ -6915,7 +6915,7 @@ 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 src="file://' + file + '">';
|
var input = '<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