mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-01 20:42:01 +02:00
Added File Browser for Repository Scene
This commit is contained in:
parent
9f657b012f
commit
1a264e2beb
8 changed files with 169 additions and 35 deletions
scripts
14
scripts/fake-editor-noblock
Executable file
14
scripts/fake-editor-noblock
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env perl
|
||||
|
||||
use IO::Socket;
|
||||
|
||||
$socket = IO::Socket::INET->new(PeerAddr => "127.0.0.1",
|
||||
PeerPort => 1234,
|
||||
Proto => "tcp",
|
||||
Type => SOCK_STREAM);
|
||||
|
||||
# Send the length of the first argument as a byte.
|
||||
$socket->send(chr(length($ARGV[0])));
|
||||
# Send the first argument as a string.
|
||||
$socket->send($ARGV[0]);
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue