mirror of
https://github.com/rfivet/uemacs.git
synced 2025-01-17 21:56:22 -05:00
Use explicit buffer name as output for the script.
This commit is contained in:
parent
3551d2b8d1
commit
c55a72ad26
4
maze.cmd
4
maze.cmd
@ -9,6 +9,8 @@ set %D3 0
|
|||||||
set %D4 -1
|
set %D4 -1
|
||||||
set %D5 0
|
set %D5 0
|
||||||
|
|
||||||
|
select-buffer maze
|
||||||
|
|
||||||
# draw the maze layout
|
# draw the maze layout
|
||||||
$curwidth insert-string " "
|
$curwidth insert-string " "
|
||||||
newline
|
newline
|
||||||
@ -98,3 +100,5 @@ write-message $line
|
|||||||
set $curline 3
|
set $curline 3
|
||||||
set $curcol 1
|
set $curcol 1
|
||||||
set $curchar 32
|
set $curchar 32
|
||||||
|
|
||||||
|
unmark-buffer
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# Visualize Screen Dimensions
|
# Visualize Screen Dimensions
|
||||||
|
select-buffer screensize
|
||||||
insert-string &cat $curwidth &cat "x" $pagelen
|
insert-string &cat $curwidth &cat "x" $pagelen
|
||||||
insert-string &rig "---------+" &sub 10 $curcol
|
insert-string &rig "---------+" &sub 10 $curcol
|
||||||
&sub &div $curwidth 10 1 insert-string "---------+"
|
&sub &div $curwidth 10 1 insert-string "---------+"
|
||||||
|
Loading…
Reference in New Issue
Block a user