deleted: RdzeN-Profile/RdzeN-Profile.ps1
deleted: RdzeN-Profile/functions/New-SimulateTyping.ps1 deleted: SimulateTyping/New-SimulateTyping.ps1
This commit is contained in:
parent
9e0ec7b4be
commit
27d7d2d571
@ -1,4 +0,0 @@
|
||||
# gitea.RdzeN.net
|
||||
#
|
||||
# Example Powershell Profile.
|
||||
#
|
@ -1,17 +0,0 @@
|
||||
# gitea.RdzeN.net
|
||||
# Simulate Typing
|
||||
function New-SimulateTyping {
|
||||
param(
|
||||
[string]$message
|
||||
)
|
||||
|
||||
# Iterate through each character in the text
|
||||
foreach ($char in $message.ToCharArray()) {
|
||||
# Write each character to the screen
|
||||
Write-Host -NoNewline $char -ForegroundColor Yellow
|
||||
# Wait before writing the next character (adjustable time in milliseconds)
|
||||
Start-Sleep -Milliseconds (Get-Random -Minimum 10 -Maximum 100)
|
||||
}
|
||||
# New line after last char.
|
||||
Write-Host ""
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
# gitea.RdzeN.net
|
||||
# Simulate Typing
|
||||
function New-SimulateTyping {
|
||||
param(
|
||||
[string]$message
|
||||
)
|
||||
|
||||
# Iterate through each character in the text
|
||||
foreach ($char in $message.ToCharArray()) {
|
||||
# Write each character to the screen
|
||||
Write-Host -NoNewline $char -ForegroundColor Yellow
|
||||
# Wait before writing the next character (adjustable time in milliseconds)
|
||||
Start-Sleep -Milliseconds (Get-Random -Minimum 10 -Maximum 100)
|
||||
}
|
||||
# New line after last char.
|
||||
Write-Host ""
|
||||
}
|
||||
|
||||
# Example usage of the function
|
||||
New-SimulateTyping "This is an example text for typing simulation.
|
||||
Multiline #1`nMultiline #2"
|
Loading…
x
Reference in New Issue
Block a user