repo.or.cz
/
screen-lua.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
refs
|
edit
|
fork
4ef8083cf3bc5b5ff4d04a2eacd69a50d1bde6b1
[screen-lua.git]
/
src
/
scripts
/
movewindow.lua
blob
4ef8083cf3bc5b5ff4d04a2eacd69a50d1bde6b1
1
function
toleft
()
2
local
w
=
screen
.
display
().
fore
3
if
w
.
number
>
0
then
4
w
.
number
=
w
.
number
-
1
5
end
6
end
7
8
function
toright
()
9
local
w
=
screen
.
display
().
fore
10
w
.
number
=
w
.
number
+
1
11
end