Code Monkey home page Code Monkey logo

alacritty's People

Contributors

0x1a avatar aaron1011 avatar algesten avatar brycefisher avatar cema-sp avatar chrisduerr avatar davidhewitt avatar divinegod avatar dspeckhals avatar expectocode avatar hlieberman avatar honza avatar jc00ke avatar jwilm avatar lukaslueg avatar manishearth avatar martinlindhe avatar matthiaskrgr avatar maximbaz avatar mbrumlow avatar miedzinski avatar nickez avatar nixpulvis avatar quininer avatar robertgzr avatar siiptuo avatar sodiumjoe avatar tcrayford avatar trimental avatar zacps avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

scallaway

alacritty's Issues

Buffer is Stretched With Intel HD Graphics

System

Windows 10 with Intel HD Graphics P630

Description

The buffer seems stretched when using Intel HD Graphics. The origin for this stretch seems to be centered around 0.5, 0.5 - leading characters to fall outside the terminal window and the text to be blurry:

Stretched Buffer

I've messed about with DPI settings and that seems to have no effect (my DPI is 100% in any case).

Workaround

The issue disappears if I allocate my NVIDIA (presumably AMD would work too) chip to Alacritty:

Rendered with real GPU

256 colours are not supported in bash on windows

Which operating system does the issue occur on?
Windows 10 - WSL

I tried the last compiled build from AppVeyor, but the colors don't seem to be displayed correctly. This is what it looks like:
image

This is what it looks like on wsltty:
image

As a side question. I am starting bash by simply typing 'bash' in de cmd prompt that starts. Would this be the proper way?

Window Resizing doesn't work as expected

Which operating system does the issue occur on?

Windows 10 client talking to a Ubuntu 16.04 host via the v7.6.0.0.p1-beta release of Windows SSH client (https://github.com/PowerShell/Win32-OpenSSH/releases/tag/v7.6.0.0p1-Beta)

Resizing the window seems to be ignored in the reported terminal size. This is especially noticable after a maximize operation.

Steps to reproduce:

  1. ssh user@linuxbox
  2. run the resize command which should report the current screen size
  3. resize the window
  4. run resize again. The reported values are the same as before

Another thing that I noticed is that closing the SSH connection, resizing the window and then starting a new SSH connection seems to cause the values reported by resize to be correct.

Panic on startup: 'gl function was not loaded'

From jwilm/alacritty#28.

Now however I am getting a different error when I try to run alactritty.exe.

Welcome to Alacritty.                                                                                                                                            
Configuration loaded from C:\Users\gavin\alacritty.yml                                                                                                           
device_pixel_ratio: 1                                                                                                                                            
width: 1024, height: 768                                                                                                                                         
thread 'main' panicked at 'gl function was not loaded', E:\Development\alacritty\target\release\build\alacritty-aabf91f3f7e36563\out/gl_bindings.rs:20617:13     
stack backtrace:                                                                                                                                                 
   0: std::panicking::default_hook::{{closure}}                                                                                                                  
             at C:\projects\rust\src\libstd\panicking.rs:386                                                                                                     
   1: std::panicking::rust_panic_with_hook                                                                                                                       
             at C:\projects\rust\src\libstd\panicking.rs:563                                                                                                     
   2: std::panicking::begin_panic<str*>                                                                                                                          
             at C:\projects\rust\src\libstd\panicking.rs:538                                                                                                     
   3: alacritty::gl::missing_fn_panic                                                                                                                            
             at .\build\alacritty-aabf91f3f7e36563\out\gl_bindings.rs:20617                                                                                      
   4: alacritty::main                                                                                                                                            
             at E:\Development\alacritty\src\main.rs:45                                                                                                          
   5: std::rt::lang_start::{{closure}}<()>                                                                                                                       
             at C:\projects\rust\src\libstd\rt.rs:74                                                                                                             
   6: main                                                                                                                                                       
   7: __scrt_common_main_seh                                                                                                                                     
             at f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283                                                                                       
   8: BaseThreadInitThunk    ```                                                                                                                                 

Mouse interactions do not appear to be working properly

Which operating system does the issue occur on?

Windows 10 client connecting to a Linux 16.04 machine via ssh

Steps to reproduce:

  1. Make sure that dialog is installed
  2. Execute dialog --yesno Testing 10 30
  3. Attempt to use the mouse to click on either the Yes or No button. Nothing happens

Expected bahavior:

Clicking on either of the buttons should cause the dialog process to exit

Un-maximizing breaks font rendering until input

Steps to reproduce:

  1. Maximize window
  2. Un-maximize the window
    Expected result: Font size does not change
    Actual result: Font renders weirdly until any window message is received (Including events like lost focus)

image

Bring tests on par with other OSs

I haven't implemented any of the OS-specific tests so far. Just add cases to cover what the current OS-specific tests are on other operating systems if they're applicable.

Add support for the new native ConPTY API in Windows 10

Information about the API is located here: https://blogs.msdn.microsoft.com/commandline/2018/08/02/windows-command-line-introducing-the-windows-pseudo-console-conpty/

  • Add bindings for the new API. Ideally we'd add support for this to winpty-rs, but I'm not sure how they deal with insider APIs.
  • Figure out whether we can use the insider SDK on Appveyor. It may have to be feature-gated if we can't.
  • Add an implementation of the EventedReadWrite (src/tty/mod.rs) trait for the ConPTY API.
  • Add config option for PTY backend on Windows and runtime switching based on Windows version.

Get appveyor working

A few things that need doing here.
First the current appveyor stuff is copy-pasted from rust-everywhere as I don't really have any experience with appveyor.
Second the build currently fails because of our dependencies but works fine on my local machine (Fix it!).
Finally add a badge to show off the passing build status :).


If there are any appveyor settings that should/need to be changed I'm happy to make them upon request.

Document process for setting up all dev dependencies

Unfortunately cargo build is not quite enough to setup all dependencies.
Winpty requires msbuild and fontconfig-sys requires a library from somewhere (See servo-fontconfig-sys repo).
Bindgen also relies on llvm being installed.

Any kind of vague list regarding what still needs to be fixed?

In your comment linking this repo you mention there's a lot of work that still needs to be done. Do you have a vague list of what things still need to be changed?

Also it seems that your fork still fails for me on building servo-fontconfig. Did you switch to a different create locally or are using something different for rendering?

search for winpty-agent.exe in PATH

Which operating system does the issue occur on?
Win10

I use winpty for other command line tools and winpty-agent.exe is already in the path environment variable. Would be good to load it from there if it doesn't find it with alacritty.exe

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.